Skip to content

Commit a370450

Browse files
authored
10.1.2 (#5535)
* 10.1.2 * USe /*#__PURE__*/ exports in derives
1 parent 3887f6f commit a370450

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+319
-275
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

3+
## 10.1.2 Mar 11, 2023
4+
5+
Changes:
6+
7+
- Adjust type exports to remove invalid generated exports from `/src/`
8+
- Apply missing `/*#__PURE__*/` exports in `api-derive`
9+
10+
311
## 10.1.1 Mar 11, 2023
412

513
Contributed:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"sideEffects": false,
1313
"type": "module",
14-
"version": "10.1.1",
14+
"version": "10.1.2",
1515
"versions": {
1616
"git": "10.1.1",
1717
"npm": "10.1.1"
@@ -37,7 +37,7 @@
3737
"test:one": "polkadot-dev-run-test --env node"
3838
},
3939
"devDependencies": {
40-
"@polkadot/dev": "^0.71.4",
40+
"@polkadot/dev": "^0.71.5",
4141
"@polkadot/typegen": "workspace:packages/typegen",
4242
"@types/node": "^18.15.0"
4343
},

packages/api-augment/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "10.1.1",
23+
"version": "10.1.2",
2424
"main": "index.js",
2525
"dependencies": {
26-
"@polkadot/api-base": "10.1.1",
27-
"@polkadot/rpc-augment": "10.1.1",
28-
"@polkadot/types": "10.1.1",
29-
"@polkadot/types-augment": "10.1.1",
30-
"@polkadot/types-codec": "10.1.1",
26+
"@polkadot/api-base": "10.1.2",
27+
"@polkadot/rpc-augment": "10.1.2",
28+
"@polkadot/types": "10.1.2",
29+
"@polkadot/types-augment": "10.1.2",
30+
"@polkadot/types-codec": "10.1.2",
3131
"@polkadot/util": "^11.0.2",
3232
"tslib": "^2.5.0"
3333
}

packages/api-augment/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Do not edit, auto-generated by @polkadot/dev
55

6-
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.1.1' };
6+
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.1.2' };

packages/api-base/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "10.1.1",
23+
"version": "10.1.2",
2424
"main": "index.js",
2525
"dependencies": {
26-
"@polkadot/rpc-core": "10.1.1",
27-
"@polkadot/types": "10.1.1",
26+
"@polkadot/rpc-core": "10.1.2",
27+
"@polkadot/types": "10.1.2",
2828
"@polkadot/util": "^11.0.2",
2929
"rxjs": "^7.8.0",
3030
"tslib": "^2.5.0"

packages/api-base/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Do not edit, auto-generated by @polkadot/dev
55

6-
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.1.1' };
6+
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.1.2' };

packages/api-contract/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "10.1.1",
23+
"version": "10.1.2",
2424
"main": "index.js",
2525
"dependencies": {
26-
"@polkadot/api": "10.1.1",
27-
"@polkadot/types": "10.1.1",
28-
"@polkadot/types-codec": "10.1.1",
29-
"@polkadot/types-create": "10.1.1",
26+
"@polkadot/api": "10.1.2",
27+
"@polkadot/types": "10.1.2",
28+
"@polkadot/types-codec": "10.1.2",
29+
"@polkadot/types-create": "10.1.2",
3030
"@polkadot/util": "^11.0.2",
3131
"@polkadot/util-crypto": "^11.0.2",
3232
"rxjs": "^7.8.0",
3333
"tslib": "^2.5.0"
3434
},
3535
"devDependencies": {
36-
"@polkadot/api-augment": "10.1.1",
36+
"@polkadot/api-augment": "10.1.2",
3737
"@polkadot/keyring": "^11.0.2"
3838
}
3939
}

packages/api-contract/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Do not edit, auto-generated by @polkadot/dev
55

6-
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.1.1' };
6+
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.1.2' };

packages/api-derive/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "10.1.1",
23+
"version": "10.1.2",
2424
"main": "index.js",
2525
"dependencies": {
26-
"@polkadot/api": "10.1.1",
27-
"@polkadot/api-augment": "10.1.1",
28-
"@polkadot/api-base": "10.1.1",
29-
"@polkadot/rpc-core": "10.1.1",
30-
"@polkadot/types": "10.1.1",
31-
"@polkadot/types-codec": "10.1.1",
26+
"@polkadot/api": "10.1.2",
27+
"@polkadot/api-augment": "10.1.2",
28+
"@polkadot/api-base": "10.1.2",
29+
"@polkadot/rpc-core": "10.1.2",
30+
"@polkadot/types": "10.1.2",
31+
"@polkadot/types-codec": "10.1.2",
3232
"@polkadot/util": "^11.0.2",
3333
"@polkadot/util-crypto": "^11.0.2",
3434
"rxjs": "^7.8.0",
3535
"tslib": "^2.5.0"
3636
},
3737
"devDependencies": {
38-
"@polkadot/api": "10.1.1",
39-
"@polkadot/api-augment": "10.1.1",
40-
"@polkadot/rpc-augment": "10.1.1",
41-
"@polkadot/rpc-provider": "10.1.1",
42-
"@polkadot/types-support": "10.1.1"
38+
"@polkadot/api": "10.1.2",
39+
"@polkadot/api-augment": "10.1.2",
40+
"@polkadot/rpc-augment": "10.1.2",
41+
"@polkadot/rpc-provider": "10.1.2",
42+
"@polkadot/types-support": "10.1.2"
4343
}
4444
}

packages/api-derive/src/accounts/identity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export function identity (instanceId: string, api: DeriveApi): (accountId?: Acco
111111
);
112112
}
113113

114-
export const hasIdentity = firstMemo(
114+
export const hasIdentity = /*#__PURE__*/ firstMemo(
115115
(api: DeriveApi, accountId: AccountId | Uint8Array | string) =>
116116
api.derive.accounts.hasIdentityMulti([accountId])
117117
);

0 commit comments

Comments
 (0)