@parity/product-sdk 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createApp } from '../index.js';
|
|
2
2
|
export { LogEntry, LogHandler, LogLevel, Logger, LoggerConfig, configure, createLogger } from '@parity/product-sdk-logger';
|
|
3
|
-
export { a as Account, A as App, b as AppConfig, B as BulletinApi, c as BulletinConfig, C as ChainApi, S as StorageApi, W as WalletApi } from '../types-
|
|
3
|
+
export { a as Account, A as App, b as AppConfig, B as BulletinApi, c as BulletinConfig, C as ChainApi, S as StorageApi, W as WalletApi } from '../types-DVpAr2JN.js';
|
|
4
4
|
export { ChainClient } from '@parity/product-sdk-chain-client';
|
|
5
5
|
export { ChainDefinition, PolkadotClient, TypedApi } from 'polkadot-api';
|
|
6
6
|
import '@parity/product-sdk-host';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { LogEntry, LogHandler, LogLevel, Logger, LoggerConfig, configure, createLogger } from '@parity/product-sdk-logger';
|
|
2
|
-
import { b as AppConfig, A as App } from './types-
|
|
3
|
-
export { a as Account, B as BulletinApi, C as ChainApi, S as StorageApi, W as WalletApi } from './types-
|
|
2
|
+
import { b as AppConfig, A as App } from './types-DVpAr2JN.js';
|
|
3
|
+
export { a as Account, B as BulletinApi, C as ChainApi, S as StorageApi, W as WalletApi } from './types-DVpAr2JN.js';
|
|
4
4
|
export { isInsideContainer, isInsideContainerSync } from '@parity/product-sdk-host';
|
|
5
5
|
export { ChainClient, createChainClient } from '@parity/product-sdk-chain-client';
|
|
6
6
|
export { SignerManager } from '@parity/product-sdk-signer';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { LogLevel } from '@parity/product-sdk-logger';
|
|
5
|
-
import { A as App, a as Account } from '../types-
|
|
5
|
+
import { A as App, a as Account } from '../types-DVpAr2JN.js';
|
|
6
6
|
import { ChainDefinition, TypedApi } from 'polkadot-api';
|
|
7
7
|
import '@parity/product-sdk-bulletin';
|
|
8
8
|
import '@parity/product-sdk-chain-client';
|
|
@@ -81,7 +81,7 @@ interface ChainApi {
|
|
|
81
81
|
/**
|
|
82
82
|
* Get the raw PolkadotClient for a chain.
|
|
83
83
|
*
|
|
84
|
-
* Use this for advanced APIs like `
|
|
84
|
+
* Use this for advanced APIs like `createContractRuntime` from `@parity/product-sdk-contracts`.
|
|
85
85
|
*
|
|
86
86
|
* @param descriptor - PAPI chain descriptor
|
|
87
87
|
* @returns Raw PolkadotClient instance
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/product-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Unified SDK for building products in the Polkadot ecosystem - umbrella package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -63,17 +63,17 @@
|
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"polkadot-api": "^2.1.2",
|
|
66
|
-
"@parity/product-sdk-bulletin": "0.3.0",
|
|
67
66
|
"@parity/product-sdk-address": "0.1.1",
|
|
68
|
-
"@parity/product-sdk-
|
|
69
|
-
"@parity/product-sdk-
|
|
67
|
+
"@parity/product-sdk-bulletin": "0.4.0",
|
|
68
|
+
"@parity/product-sdk-chain-client": "0.4.0",
|
|
69
|
+
"@parity/product-sdk-contracts": "0.4.0",
|
|
70
70
|
"@parity/product-sdk-crypto": "0.1.1",
|
|
71
|
-
"@parity/product-sdk-host": "0.2.
|
|
71
|
+
"@parity/product-sdk-host": "0.2.2",
|
|
72
72
|
"@parity/product-sdk-logger": "0.1.1",
|
|
73
|
-
"@parity/product-sdk-
|
|
74
|
-
"@parity/product-sdk-
|
|
75
|
-
"@parity/product-sdk-
|
|
76
|
-
"@parity/product-sdk-
|
|
73
|
+
"@parity/product-sdk-signer": "0.2.3",
|
|
74
|
+
"@parity/product-sdk-storage": "0.1.3",
|
|
75
|
+
"@parity/product-sdk-tx": "0.2.2",
|
|
76
|
+
"@parity/product-sdk-keys": "0.2.2"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0 || ^19.0.0"
|
package/src/core/types.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface ChainApi {
|
|
|
87
87
|
/**
|
|
88
88
|
* Get the raw PolkadotClient for a chain.
|
|
89
89
|
*
|
|
90
|
-
* Use this for advanced APIs like `
|
|
90
|
+
* Use this for advanced APIs like `createContractRuntime` from `@parity/product-sdk-contracts`.
|
|
91
91
|
*
|
|
92
92
|
* @param descriptor - PAPI chain descriptor
|
|
93
93
|
* @returns Raw PolkadotClient instance
|