@polkadot/rpc-augment 15.4.1 → 15.5.2
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/augment/jsonrpc.d.ts +4 -0
- package/cjs/augment/jsonrpc.d.ts +4 -0
- package/cjs/packageInfo.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
package/augment/jsonrpc.d.ts
CHANGED
|
@@ -466,6 +466,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|
|
466
466
|
version: AugmentedRpc<() => Observable<Text>>;
|
|
467
467
|
};
|
|
468
468
|
offchain: {
|
|
469
|
+
/**
|
|
470
|
+
* Clear offchain local storage under given key and prefix
|
|
471
|
+
**/
|
|
472
|
+
localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
|
|
469
473
|
/**
|
|
470
474
|
* Get offchain local storage under given key and prefix
|
|
471
475
|
**/
|
package/cjs/augment/jsonrpc.d.ts
CHANGED
|
@@ -466,6 +466,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|
|
466
466
|
version: AugmentedRpc<() => Observable<Text>>;
|
|
467
467
|
};
|
|
468
468
|
offchain: {
|
|
469
|
+
/**
|
|
470
|
+
* Clear offchain local storage under given key and prefix
|
|
471
|
+
**/
|
|
472
|
+
localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
|
|
469
473
|
/**
|
|
470
474
|
* Get offchain local storage under given key and prefix
|
|
471
475
|
**/
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/rpc-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/rpc-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.5.2' };
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "15.
|
|
21
|
+
"version": "15.5.2",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@polkadot/rpc-core": "15.
|
|
133
|
-
"@polkadot/types": "15.
|
|
134
|
-
"@polkadot/types-codec": "15.
|
|
132
|
+
"@polkadot/rpc-core": "15.5.2",
|
|
133
|
+
"@polkadot/types": "15.5.2",
|
|
134
|
+
"@polkadot/types-codec": "15.5.2",
|
|
135
135
|
"@polkadot/util": "^13.3.1",
|
|
136
136
|
"tslib": "^2.8.1"
|
|
137
137
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/rpc-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/rpc-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.5.2' };
|