Compare commits

..
10 Commits
Author SHA1 Message Date
github-actions[bot] 109d3b2201 [CI Skip] release/stable 15.2.1
skip-checks: true
2025-01-06 20:05:33 +00:00
Tarik Gul cbf017c605 15.2.1 (#6058) 2025-01-06 21:57:31 +02:00
github-actions[bot] 8ce6abf89a [CI Skip] bump/beta 15.1.2-3-x
skip-checks: true
2025-01-06 17:04:25 +00:00
Tarik Gul 4ff23b126c Upgrade commont to 13.3.1 (#6057) 2025-01-06 18:56:21 +02:00
github-actions[bot] 9ca69e73a6 [CI Skip] bump/beta 15.1.2-2-x
skip-checks: true
2025-01-06 16:43:27 +00:00
Tarik Gul e95a51478a Bump dev to 0.82.4 (#6056)
* Bump dev to 0.82.4

* dedupe
2025-01-06 18:35:05 +02:00
github-actions[bot] 6121f924f5 [CI Skip] bump/beta 15.1.2-1-x
skip-checks: true
2025-01-01 18:10:44 +00:00
Tarik Gul 241a1a3630 2025 (#6052)
* 2025

* change metadata script
2025-01-01 20:02:48 +02:00
github-actions[bot] c2dedeaeef [CI Skip] bump/beta 15.1.2-0-x
skip-checks: true
2024-12-31 12:34:12 +00:00
Tarik Gul 55472709eb Bump yarn to 4.6.0 (#6050) 2024-12-31 14:26:19 +02:00
949 changed files with 1615 additions and 1615 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api authors & contributors // Copyright 2017-2025 @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');
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,4 +12,4 @@ logFilters:
nodeLinker: node-modules nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.5.1.cjs yarnPath: .yarn/releases/yarn-4.6.0.cjs
+10
View File
@@ -1,5 +1,15 @@
# CHANGELOG # CHANGELOG
## 15.2.1 Jan 6, 2024
- Give compatibility for nodejs v22
- Update common to 13.3.1 ([#6057](https://github.com/polkadot-js/api/pull/6057))
- Fixes an issue with `getSeparator` for nodejs 22.12
- Bump dev to 0.82.4 ([#6056](https://github.com/polkadot-js/api/pull/6056))
- Update Headers to 2025 ([#6052](https://github.com/polkadot-js/api/pull/6052))
- Bump yarn to 4.6.0 ([#6050](https://github.com/polkadot-js/api/pull/6050))
## 15.1.1 Dec 30, 2024 ## 15.1.1 Dec 30, 2024
Changes: Changes:
+1 -1
View File
@@ -1,5 +1,5 @@
3512 Jaco Bump deps (#5785) 3512 Jaco Bump deps (#5785)
143 Tarik Gul 15.1.1 (#6049) 148 Tarik Gul 15.2.1 (#6058)
83 Amaury Martiny StatementKind: Regular and Saft (#2303) 83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541) 37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709) 35 Stefanie Doll Updated child storage parameters (#1709)
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api authors & contributors // Copyright 2017-2025 @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';
+6 -6
View File
@@ -6,7 +6,7 @@
}, },
"homepage": "https://github.com/polkadot-js/api#readme", "homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2.0", "license": "Apache-2.0",
"packageManager": "yarn@4.5.1", "packageManager": "yarn@4.6.0",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
@@ -14,10 +14,10 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "15.1.1", "version": "15.2.1",
"versions": { "versions": {
"git": "15.1.1", "git": "15.2.1",
"npm": "15.1.1" "npm": "15.2.1"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@@ -40,9 +40,9 @@
"test:one": "polkadot-dev-run-test --env node" "test:one": "polkadot-dev-run-test --env node"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/dev": "^0.82.1", "@polkadot/dev": "^0.82.4",
"@polkadot/typegen": "workspace:packages/typegen", "@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^22.7.5" "@types/node": "^22.10.5"
}, },
"resolutions": { "resolutions": {
"typescript": "^5.5.4" "typescript": "^5.5.4"
+8 -8
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "15.1.1", "version": "15.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api-base": "15.1.1", "@polkadot/api-base": "15.2.1",
"@polkadot/rpc-augment": "15.1.1", "@polkadot/rpc-augment": "15.2.1",
"@polkadot/types": "15.1.1", "@polkadot/types": "15.2.1",
"@polkadot/types-augment": "15.1.1", "@polkadot/types-augment": "15.2.1",
"@polkadot/types-codec": "15.1.1", "@polkadot/types-codec": "15.2.1",
"@polkadot/util": "^13.2.3", "@polkadot/util": "^13.3.1",
"tslib": "^2.8.0" "tslib": "^2.8.1"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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: '15.1.1' }; export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '15.2.1' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-augment authors & contributors // Copyright 2017-2025 @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';
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "15.1.1", "version": "15.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/rpc-core": "15.1.1", "@polkadot/rpc-core": "15.2.1",
"@polkadot/types": "15.1.1", "@polkadot/types": "15.2.1",
"@polkadot/util": "^13.2.3", "@polkadot/util": "^13.3.1",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.0" "tslib": "^2.8.1"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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: '15.1.1' }; export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '15.2.1' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-base authors & contributors // Copyright 2017-2025 @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';
+12 -12
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "15.1.1", "version": "15.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "15.1.1", "@polkadot/api": "15.2.1",
"@polkadot/api-augment": "15.1.1", "@polkadot/api-augment": "15.2.1",
"@polkadot/types": "15.1.1", "@polkadot/types": "15.2.1",
"@polkadot/types-codec": "15.1.1", "@polkadot/types-codec": "15.2.1",
"@polkadot/types-create": "15.1.1", "@polkadot/types-create": "15.2.1",
"@polkadot/util": "^13.2.3", "@polkadot/util": "^13.3.1",
"@polkadot/util-crypto": "^13.2.3", "@polkadot/util-crypto": "^13.3.1",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.0" "tslib": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "15.1.1", "@polkadot/api-augment": "15.2.1",
"@polkadot/keyring": "^13.2.3", "@polkadot/keyring": "^13.3.1",
"@polkadot/types-support": "15.1.1" "@polkadot/types-support": "15.2.1"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV4, ContractMetadataV5 } from '@polkadot/types/interfaces'; import type { ContractMetadataV4, ContractMetadataV5 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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: '15.1.1' }; export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '15.2.1' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-contract authors & contributors // Copyright 2017-2025 @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';
+15 -15
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "15.1.1", "version": "15.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "15.1.1", "@polkadot/api": "15.2.1",
"@polkadot/api-augment": "15.1.1", "@polkadot/api-augment": "15.2.1",
"@polkadot/api-base": "15.1.1", "@polkadot/api-base": "15.2.1",
"@polkadot/rpc-core": "15.1.1", "@polkadot/rpc-core": "15.2.1",
"@polkadot/types": "15.1.1", "@polkadot/types": "15.2.1",
"@polkadot/types-codec": "15.1.1", "@polkadot/types-codec": "15.2.1",
"@polkadot/util": "^13.2.3", "@polkadot/util": "^13.3.1",
"@polkadot/util-crypto": "^13.2.3", "@polkadot/util-crypto": "^13.3.1",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.8.0" "tslib": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "15.1.1", "@polkadot/api": "15.2.1",
"@polkadot/api-augment": "15.1.1", "@polkadot/api-augment": "15.2.1",
"@polkadot/rpc-augment": "15.1.1", "@polkadot/rpc-augment": "15.2.1",
"@polkadot/rpc-provider": "15.1.1", "@polkadot/rpc-provider": "15.2.1",
"@polkadot/types-support": "15.1.1" "@polkadot/types-support": "15.2.1"
} }
} }
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './get.js'; export * from './get.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/api-derive authors & contributors // Copyright 2017-2025 @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