Skip to content

Commit

Permalink
chore(release): set package.json to 1.2.0 [skip ci]
Browse files Browse the repository at this point in the history
# [1.2.0](v1.1.0...v1.2.0) (2022-03-26)

### Features

* rewrite library, update address formats, use newer dev dependencies and utilize GitHub actions ([81f482e](81f482e))
  • Loading branch information
semantic-release-bot committed Mar 26, 2022
1 parent bae6c5f commit 870ca52
Show file tree
Hide file tree
Showing 10 changed files with 1,061 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# [1.2.0](https://github.com/DASPRiD/localized-address-format/compare/v1.1.0...v1.2.0) (2022-03-26)


### Features

* rewrite library, update address formats, use newer dev dependencies and utilize GitHub actions ([81f482e](https://github.com/DASPRiD/localized-address-format/commit/81f482e0504049a4de9459f05946ad9add5c57e9))
3 changes: 3 additions & 0 deletions dist/addressFormats.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare const addressFormats: Map<string, string>;
export declare const defaultAddressFormat = "%N%n%O%n%A%n%C";
export default addressFormats;
13 changes: 13 additions & 0 deletions dist/formatAddress.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export declare type Address = {
postalCountry?: string;
administrativeArea?: string;
locality?: string;
dependentLocality?: string;
postalCode?: string;
sortingCode?: string;
organization?: string;
name?: string;
addressLines?: string[];
};
declare const formatAddress: (address: Address) => string[];
export default formatAddress;
344 changes: 344 additions & 0 deletions dist/index.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 870ca52

Please sign in to comment.