Compare commits

..
12 Commits
Author SHA1 Message Date
github-actions[bot] dd76109c42 [CI Skip] release/stable 16.5.6
skip-checks: true
2026-03-23 23:54:45 +00:00
Tarik Gul c057ffb1ce 16.5.6 (#6251) 2026-03-24 01:46:24 +02:00
github-actions[bot] a7170dd696 [CI Skip] bump/beta 16.5.6-2-x
skip-checks: true
2026-03-23 14:03:34 +00:00
Tarik Gul 38a3e341a4 Bump common to 14.0.3 (#6250) 2026-03-23 09:55:03 -04:00
github-actions[bot] 478fbd565d [CI Skip] bump/beta 16.5.6-1-x
skip-checks: true
2026-03-17 14:55:07 +00:00
Tarik Gul 73845f8d03 Bump common to 14.0.2 (#6248)
* Bump common to 14.0.2

* dedupe
2026-03-17 16:46:32 +02:00
github-actions[bot] b38df4078b [CI Skip] bump/beta 16.5.6-0-x
skip-checks: true
2026-03-17 13:50:16 +00:00
Tarik Gul 0b48576744 Set headers to 2026 (#6249) 2026-03-17 15:41:40 +02:00
github-actions[bot] eb34741c87 [CI Skip] release/stable 16.5.5
skip-checks: true
2025-12-16 15:08:11 +00:00
Arjun Porwal 27b311bbec 16.5.5 (#6237) 2025-12-16 20:32:29 +05:30
github-actions[bot] ac684a400a [CI Skip] bump/beta 16.5.5-0-x
skip-checks: true
2025-12-16 13:49:35 +00:00
Arjun Porwal 3c812931ea Improve subscriptions for observable handling (#6236)
* fix: subscribeNewHeads for improved observable handling

* fix: replace switchMap with mergeMap for improved subscription handling
2025-12-16 19:14:04 +05:30
960 changed files with 1286 additions and 1287 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors // Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs'); module.exports = require('@polkadot/dev/config/prettier.cjs');
+15
View File
@@ -1,5 +1,20 @@
# CHANGELOG # CHANGELOG
## 16.5.6 Mar 23, 2026
Changes:
- Bump common to 14.0.3 ([#6250](https://github.com/polkadot-js/api/pull/6250))
- Set headers to 2026 ([#6249](https://github.com/polkadot-js/api/pull/6249))
## 16.5.5 Dec 16, 2025
Changes:
- Improve subscriptions for observable handling ([#6236](https://github.com/polkadot-js/api/pull/6236))
## 16.5.4 Dec 9, 2025 ## 16.5.4 Dec 9, 2025
Changes: Changes:
+2 -2
View File
@@ -1,5 +1,5 @@
3512 Jaco Bump deps (#5785) 3512 Jaco Bump deps (#5785)
166 Tarik Gul 16.4.7 (#6209) 170 Tarik Gul 16.5.6 (#6251)
83 Amaury Martiny StatementKind: Regular and Saft (#2303) 83 Amaury Martiny StatementKind: Regular and Saft (#2303)
58 Valentin Fernandez 16.4.9 (#6217) 58 Valentin Fernandez 16.4.9 (#6217)
37 Keith Ingram Update contract types and rpc (#4541) 37 Keith Ingram Update contract types and rpc (#4541)
@@ -9,8 +9,8 @@
18 rajk93 16.5.4 (#6234) 18 rajk93 16.5.4 (#6234)
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054) 15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307) 14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
12 Arjun Porwal 16.5.5 (#6237)
11 Ian He HttpProvider support clone() (#3949) 11 Ian He HttpProvider support clone() (#3949)
10 Arjun Porwal Upgrade Polkadot and Polkadot Asset Hub types for 2000000 (#6219)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954) 10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
6 Andreea Eftene Update check for contract instantiation (#5699) 6 Andreea Eftene Update check for contract instantiation (#5699)
6 Branislav Kontur Fix for fungiblesApi (#5944) 6 Branislav Kontur Fix for fungiblesApi (#5944)
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors // Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import baseConfig from '@polkadot/dev/config/eslint'; import baseConfig from '@polkadot/dev/config/eslint';
+3 -3
View File
@@ -14,10 +14,10 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "16.5.4", "version": "16.5.6",
"versions": { "versions": {
"git": "16.5.4", "git": "16.5.6",
"npm": "16.5.4" "npm": "16.5.6"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
+7 -7
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "16.5.4", "version": "16.5.6",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api-base": "16.5.4", "@polkadot/api-base": "16.5.6",
"@polkadot/rpc-augment": "16.5.4", "@polkadot/rpc-augment": "16.5.6",
"@polkadot/types": "16.5.4", "@polkadot/types": "16.5.6",
"@polkadot/types-augment": "16.5.4", "@polkadot/types-augment": "16.5.6",
"@polkadot/types-codec": "16.5.4", "@polkadot/types-codec": "16.5.6",
"@polkadot/util": "^14.0.1", "@polkadot/util": "^14.0.3",
"tslib": "^2.8.1" "tslib": "^2.8.1"
} }
} }
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '../base.js'; import '../base.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/assetHubKusama'; import '@polkadot/types-augment/registry/assetHubKusama';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '../base.js'; import '../base.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/assetHubPolkadot'; import '@polkadot/types-augment/registry/assetHubPolkadot';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// for the API, we decorate not only the endpoints, but all types // for the API, we decorate not only the endpoints, but all types
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './substrate/index.js'; import './substrate/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './packageDetect.js'; import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '../base.js'; import '../base.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate'; import '@polkadot/types-augment/registry/substrate';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.5.4' }; export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.5.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '../base.js'; import '../base.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate'; import '@polkadot/types-augment/registry/substrate';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '../base.js'; import '../base.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors // Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate'; import '@polkadot/types-augment/registry/substrate';
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "16.5.4", "version": "16.5.6",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/rpc-core": "16.5.4", "@polkadot/rpc-core": "16.5.6",
"@polkadot/types": "16.5.4", "@polkadot/types": "16.5.6",
"@polkadot/util": "^14.0.1", "@polkadot/util": "^14.0.3",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.1" "tslib": "^2.8.1"
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo.js'; export { packageInfo } from './packageInfo.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './packageDetect.js'; import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.5.4' }; export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.5.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { PalletConstantMetadataLatest } from '@polkadot/types/interfaces'; import type { PalletConstantMetadataLatest } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { IsError } from '@polkadot/types/metadata/decorate/types'; import type { IsError } from '@polkadot/types/metadata/decorate/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { IsEvent } from '@polkadot/types/metadata/decorate/types'; import type { IsEvent } from '@polkadot/types/metadata/decorate/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors // Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// These are augmented, do an augmentation export // These are augmented, do an augmentation export
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors // Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+11 -11
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "16.5.4", "version": "16.5.6",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "16.5.4", "@polkadot/api": "16.5.6",
"@polkadot/api-augment": "16.5.4", "@polkadot/api-augment": "16.5.6",
"@polkadot/types": "16.5.4", "@polkadot/types": "16.5.6",
"@polkadot/types-codec": "16.5.4", "@polkadot/types-codec": "16.5.6",
"@polkadot/types-create": "16.5.4", "@polkadot/types-create": "16.5.6",
"@polkadot/util": "^14.0.1", "@polkadot/util": "^14.0.3",
"@polkadot/util-crypto": "^14.0.1", "@polkadot/util-crypto": "^14.0.3",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.1" "tslib": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "16.5.4", "@polkadot/api-augment": "16.5.6",
"@polkadot/keyring": "^14.0.1", "@polkadot/keyring": "^14.0.3",
"@polkadot/types-support": "16.5.4" "@polkadot/types-support": "16.5.6"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Bytes, Vec } from '@polkadot/types'; import type { Bytes, Vec } from '@polkadot/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV4, ContractMetadataV5, ContractMetadataV6 } from '@polkadot/types/interfaces'; import type { ContractMetadataV4, ContractMetadataV5, ContractMetadataV6 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV0, ContractMetadataV1 } from '@polkadot/types/interfaces'; import type { ContractMetadataV0, ContractMetadataV1 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Text } from '@polkadot/types'; import type { Text } from '@polkadot/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV2, ContractMetadataV3 } from '@polkadot/types/interfaces'; import type { ContractMetadataV2, ContractMetadataV3 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV3, ContractMetadataV4 } from '@polkadot/types/interfaces'; import type { ContractMetadataV3, ContractMetadataV4 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/api-augment'; import '@polkadot/api-augment';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors // Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors // Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { Blueprint, BlueprintSubmittableResult, extendBlueprint } from './Blueprint.js'; export { Blueprint, BlueprintSubmittableResult, extendBlueprint } from './Blueprint.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { SubmittableResult } from '@polkadot/api'; import type { SubmittableResult } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// all named // all named
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Simple non-runnable checks to test type definitions in the editor itself // Simple non-runnable checks to test type definitions in the editor itself
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './packageDetect.js'; import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.5.4' }; export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.5.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@polkadot/api'; import type { ApiPromise } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js'; import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiRx } from '@polkadot/api'; import type { ApiRx } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js'; import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import ink from './ink/index.js'; import ink from './ink/index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { createVersionedExport } from '../util.js'; import { createVersionedExport } from '../util.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as delegator } from './delegator.json' assert { type: 'json' }; export { default as delegator } from './delegator.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as flipper } from './flipper.contract.json' assert { type: 'json' }; export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as erc20 } from './erc20.contract.json' assert { type: 'json' }; export { default as erc20 } from './erc20.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as flipper } from './flipper.contract.json' assert { type: 'json' }; export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' }; export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' }; export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' }; export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { createVersionedExport } from '../util.js'; import { createVersionedExport } from '../util.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as ints256 } from './ints256.json' assert { type: 'json' }; export { default as ints256 } from './ints256.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { createVersionedExport } from '../util.js'; import { createVersionedExport } from '../util.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as assetTransfer } from './assetTransfer.json' assert { type: 'json' }; export { default as assetTransfer } from './assetTransfer.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as ask } from './ask.json' assert { type: 'json' }; export { default as ask } from './ask.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { default as events } from './events.contract.json' assert { type: 'json' }; export { default as events } from './events.contract.json' assert { type: 'json' };
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export function createVersionedExport (versioned: Record<string, Record<string, unknown>>): Record<string, Record<string, unknown>> { export function createVersionedExport (versioned: Record<string, Record<string, unknown>>): Record<string, Record<string, unknown>> {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base'; import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors // Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { SubmittableResult } from '@polkadot/api'; import type { SubmittableResult } from '@polkadot/api';
+14 -14
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "16.5.4", "version": "16.5.6",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "16.5.4", "@polkadot/api": "16.5.6",
"@polkadot/api-augment": "16.5.4", "@polkadot/api-augment": "16.5.6",
"@polkadot/api-base": "16.5.4", "@polkadot/api-base": "16.5.6",
"@polkadot/rpc-core": "16.5.4", "@polkadot/rpc-core": "16.5.6",
"@polkadot/types": "16.5.4", "@polkadot/types": "16.5.6",
"@polkadot/types-codec": "16.5.4", "@polkadot/types-codec": "16.5.6",
"@polkadot/util": "^14.0.1", "@polkadot/util": "^14.0.3",
"@polkadot/util-crypto": "^14.0.1", "@polkadot/util-crypto": "^14.0.3",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.1" "tslib": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "16.5.4", "@polkadot/api": "16.5.6",
"@polkadot/api-augment": "16.5.4", "@polkadot/api-augment": "16.5.6",
"@polkadot/rpc-augment": "16.5.4", "@polkadot/rpc-augment": "16.5.6",
"@polkadot/rpc-provider": "16.5.4", "@polkadot/rpc-provider": "16.5.6",
"@polkadot/types-support": "16.5.4" "@polkadot/types-support": "16.5.6"
} }
} }
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './accountId.js'; export * from './accountId.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { AccountId, AccountIndex, RegistrationJudgement } from '@polkadot/types/interfaces'; import type { AccountId, AccountIndex, RegistrationJudgement } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js'; import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/api-augment'; import '@polkadot/api-augment';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-derive authors & contributors // Copyright 2017-2026 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';

Some files were not shown because too many files have changed in this diff Show More