From fdf3fd544ca4f67f679eda4bbe2eed7769d2e1f6 Mon Sep 17 00:00:00 2001 From: Alex Stelea Date: Wed, 16 Aug 2023 10:55:42 +0200 Subject: [PATCH 1/3] build: update exports --- package.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e626c92..6e92940 100644 --- a/package.json +++ b/package.json @@ -25,12 +25,17 @@ "files": [ "dist" ], - "main": "./dist/wallet-sdk.umd.js", - "module": "./dist/wallet-sdk.mjs", + "main": "./dist/wallet-sdk.mjs", "exports": { ".": { - "import": "./dist/wallet-sdk.mjs", - "require": "./dist/wallet-sdk.umd.js" + "import": { + "types": "./dist/wallet-sdk.d.ts", + "default": "./dist/wallet-sdk.mjs" + }, + "require": { + "types": "./dist/wallet-sdk.d.ts", + "default": "./dist/wallet-sdk.umd.js" + } } }, "types": "./dist/wallet-sdk.d.ts", From 67aff918f7d5c64a8e78b56d02a96580376f3cf3 Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Fri, 22 Sep 2023 17:34:07 +0200 Subject: [PATCH 2/3] docs: update license --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4b97fed..400e2db 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ You may wish to consider using this with [dApp toolkit](https://github.com/radix - [Build transaction manifest](#build-transaction-manifest) - [sendTransaction](#sendtransaction) - [Errors](#errors) +- [License](#license) # Installation @@ -670,3 +671,7 @@ const transactionIntentHash = result.value.transactionIntentHash | submittedTransactionWasDuplicate | App submitted a transaction and got informed by Gateway it was duplicated | "TXID: " | | submittedTransactionHasFailedTransactionStatus | App submitted a transaction to Gateway and polled transaction status telling app it was a failed transaction | "TXID: " | | submittedTransactionHasRejectedTransactionStatus | App submitted a transaction to Gateway and polled transaction status telling app it was a rejected transaction | "TXID: " | + +# License + +The Wallet SDK code is released under [Apache 2.0 license](LICENSE). Binaries are licensed under the [Radix Software EULA](http://www.radixdlt.com/terms/genericEULA) \ No newline at end of file From 7d9d6862413573362a0d48a4a36f917861d9c7f5 Mon Sep 17 00:00:00 2001 From: Alex Stelea Date: Sun, 24 Sep 2023 15:22:02 +0200 Subject: [PATCH 3/3] major: 1.0.0 release --- commitlint.config.js | 24 +++++++++++++++++++++++- release.config.js | 8 ++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index 4fedde6..052f89f 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1,23 @@ -module.exports = { extends: ['@commitlint/config-conventional'] } +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'type-enum': () => [ + 2, + 'always', + [ + 'build', + 'chore', + 'ci', + 'docs', + 'feat', + 'fix', + 'perf', + 'refactor', + 'revert', + 'style', + 'test', + 'major', + ], + ], + }, +} diff --git a/release.config.js b/release.config.js index d8faa4c..3c169d8 100644 --- a/release.config.js +++ b/release.config.js @@ -19,6 +19,10 @@ module.exports = { { preset: 'conventionalcommits', releaseRules: [ + { + type: 'major', + release: 'major', + }, { type: 'refactor', release: 'patch', @@ -74,6 +78,10 @@ module.exports = { }, presetConfig: { types: [ + { + type: 'major', + release: 'major', + }, { type: 'feat', section: ':sparkles: Features',