@polkadot/rpc-augment 9.14.2 → 10.0.1
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/index.js +1 -4
- package/augment/jsonrpc.js +1 -7
- package/bundle.js +2 -5
- package/cjs/augment/index.js +1 -1
- package/cjs/augment/jsonrpc.js +2 -1
- package/cjs/bundle.js +4 -11
- package/cjs/detectOther.js +4 -11
- package/cjs/detectPackage.js +6 -11
- package/cjs/index.js +3 -15
- package/cjs/packageInfo.js +2 -16
- package/detectOther.js +0 -3
- package/detectPackage.js +2 -7
- package/index.js +2 -5
- package/package.json +10 -7
- package/packageInfo.js +1 -11
package/augment/index.js
CHANGED
package/augment/jsonrpc.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/rpc-core/types/jsonrpc';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/rpc-core/types/jsonrpc';
|
package/bundle.js
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./augment/index.js";
|
|
5
|
-
export { packageInfo } from "./packageInfo.js";
|
|
1
|
+
import './augment/index.js';
|
|
2
|
+
export { packageInfo } from './packageInfo.js';
|
package/cjs/augment/index.js
CHANGED
package/cjs/augment/jsonrpc.js
CHANGED
package/cjs/bundle.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "packageInfo", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _packageInfo.packageInfo;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.packageInfo = void 0;
|
|
12
4
|
require("./augment");
|
|
13
|
-
var
|
|
5
|
+
var packageInfo_1 = require("./packageInfo");
|
|
6
|
+
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_1.packageInfo; } });
|
package/cjs/detectOther.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _packageInfo = require("@polkadot/rpc-core/cjs/packageInfo");
|
|
8
|
-
var _packageInfo2 = require("@polkadot/types/cjs/packageInfo");
|
|
9
|
-
// Copyright 2017-2023 @polkadot/rpc-augment authors & contributors
|
|
10
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
11
|
-
var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo];
|
|
12
|
-
exports.default = _default;
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const packageInfo_1 = require("@polkadot/rpc-core/cjs/packageInfo");
|
|
4
|
+
const packageInfo_2 = require("@polkadot/types/cjs/packageInfo");
|
|
5
|
+
exports.default = [packageInfo_1.packageInfo, packageInfo_2.packageInfo];
|
package/cjs/detectPackage.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
|
|
10
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
11
|
-
|
|
12
|
-
(0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const util_1 = require("@polkadot/util");
|
|
5
|
+
const detectOther_1 = tslib_1.__importDefault(require("./detectOther"));
|
|
6
|
+
const packageInfo_1 = require("./packageInfo");
|
|
7
|
+
(0, util_1.detectPackage)(packageInfo_1.packageInfo, null, detectOther_1.default);
|
package/cjs/index.js
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
6
4
|
require("./detectPackage");
|
|
7
|
-
|
|
8
|
-
Object.keys(_bundle).forEach(function (key) {
|
|
9
|
-
if (key === "default" || key === "__esModule") return;
|
|
10
|
-
if (key in exports && exports[key] === _bundle[key]) return;
|
|
11
|
-
Object.defineProperty(exports, key, {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () {
|
|
14
|
-
return _bundle[key];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
5
|
+
tslib_1.__exportStar(require("./bundle"), exports);
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.packageInfo = void 0;
|
|
7
|
-
|
|
8
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
|
|
10
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
11
|
-
|
|
12
|
-
const packageInfo = {
|
|
13
|
-
name: '@polkadot/rpc-augment',
|
|
14
|
-
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
15
|
-
type: 'cjs',
|
|
16
|
-
version: '9.14.2'
|
|
17
|
-
};
|
|
18
|
-
exports.packageInfo = packageInfo;
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/rpc-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.0.1' };
|
package/detectOther.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
// Copyright 2017-2023 @polkadot/rpc-augment authors & contributors
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
1
|
import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo';
|
|
5
2
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
6
3
|
export default [coreInfo, typesInfo];
|
package/detectPackage.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-2023 @polkadot/rpc-augment authors & contributors
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
-
|
|
6
1
|
import { detectPackage } from '@polkadot/util';
|
|
7
|
-
import others from
|
|
8
|
-
import { packageInfo } from
|
|
2
|
+
import others from './detectOther.js';
|
|
3
|
+
import { packageInfo } from './packageInfo.js';
|
|
9
4
|
detectPackage(packageInfo, null, others);
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "
|
|
23
|
+
"version": "10.0.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -57,7 +57,10 @@
|
|
|
57
57
|
"require": "./cjs/detectPackage.js",
|
|
58
58
|
"default": "./detectPackage.js"
|
|
59
59
|
},
|
|
60
|
-
"./package.json":
|
|
60
|
+
"./package.json": {
|
|
61
|
+
"require": "./cjs/package.json",
|
|
62
|
+
"default": "./package.json"
|
|
63
|
+
},
|
|
61
64
|
"./packageInfo.js": {
|
|
62
65
|
"types": "./packageInfo.d.ts",
|
|
63
66
|
"require": "./cjs/packageInfo.js",
|
|
@@ -70,10 +73,10 @@
|
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"dependencies": {
|
|
73
|
-
"@
|
|
74
|
-
"@polkadot/
|
|
75
|
-
"@polkadot/types": "
|
|
76
|
-
"@polkadot/
|
|
77
|
-
"
|
|
76
|
+
"@polkadot/rpc-core": "10.0.1",
|
|
77
|
+
"@polkadot/types": "10.0.1",
|
|
78
|
+
"@polkadot/types-codec": "10.0.1",
|
|
79
|
+
"@polkadot/util": "^11.0.1",
|
|
80
|
+
"tslib": "^2.5.0"
|
|
78
81
|
}
|
|
79
82
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
-
|
|
6
|
-
export const packageInfo = {
|
|
7
|
-
name: '@polkadot/rpc-augment',
|
|
8
|
-
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
|
-
type: 'esm',
|
|
10
|
-
version: '9.14.2'
|
|
11
|
-
};
|
|
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: '10.0.1' };
|