@xyo-network/blockchain-payload-plugins 2.73.3 → 2.73.4
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/docs.json +303 -303
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +30 -17
- package/tsup.config.ts +16 -0
- package/dist/cjs/index.js +0 -10
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/index.js.map +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from '@xyo-network/ethereum-blockchain-payload-plugins';
|
|
2
|
+
import { PayloadPluginFunc } from '@xyo-network/payload-plugin';
|
|
3
|
+
|
|
4
|
+
declare const BlockchainPayloadPlugins: PayloadPluginFunc[];
|
|
5
|
+
|
|
6
|
+
export { BlockchainPayloadPlugins, BlockchainPayloadPlugins as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from '@xyo-network/ethereum-blockchain-payload-plugins';
|
|
2
|
+
import { PayloadPluginFunc } from '@xyo-network/payload-plugin';
|
|
3
|
+
|
|
4
|
+
declare const BlockchainPayloadPlugins: PayloadPluginFunc[];
|
|
5
|
+
|
|
6
|
+
export { BlockchainPayloadPlugins, BlockchainPayloadPlugins as default };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
BlockchainPayloadPlugins: () => BlockchainPayloadPlugins,
|
|
25
|
+
default: () => src_default
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
28
|
+
__reExport(src_exports, require("@xyo-network/ethereum-blockchain-payload-plugins"), module.exports);
|
|
29
|
+
var import_ethereum_blockchain_payload_plugins = require("@xyo-network/ethereum-blockchain-payload-plugins");
|
|
30
|
+
var BlockchainPayloadPlugins = [...import_ethereum_blockchain_payload_plugins.EthereumPayloadPlugins];
|
|
31
|
+
var src_default = BlockchainPayloadPlugins;
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
BlockchainPayloadPlugins,
|
|
35
|
+
...require("@xyo-network/ethereum-blockchain-payload-plugins")
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/ethereum-blockchain-payload-plugins'\n\nimport { EthereumPayloadPlugins } from '@xyo-network/ethereum-blockchain-payload-plugins'\nimport { PayloadPluginFunc } from '@xyo-network/payload-plugin'\n\nexport const BlockchainPayloadPlugins: PayloadPluginFunc[] = [...EthereumPayloadPlugins]\n\n// eslint-disable-next-line import/no-default-export\nexport default BlockchainPayloadPlugins\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,6DAAd;AAEA,iDAAuC;AAGhC,IAAM,2BAAgD,CAAC,GAAG,iEAAsB;AAGvF,IAAO,cAAQ;","names":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
export * from "@xyo-network/ethereum-blockchain-payload-plugins";
|
|
3
|
+
import { EthereumPayloadPlugins } from "@xyo-network/ethereum-blockchain-payload-plugins";
|
|
4
|
+
var BlockchainPayloadPlugins = [...EthereumPayloadPlugins];
|
|
5
|
+
var src_default = BlockchainPayloadPlugins;
|
|
6
|
+
export {
|
|
7
|
+
BlockchainPayloadPlugins,
|
|
8
|
+
src_default as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/ethereum-blockchain-payload-plugins'\n\nimport { EthereumPayloadPlugins } from '@xyo-network/ethereum-blockchain-payload-plugins'\nimport { PayloadPluginFunc } from '@xyo-network/payload-plugin'\n\nexport const BlockchainPayloadPlugins: PayloadPluginFunc[] = [...EthereumPayloadPlugins]\n\n// eslint-disable-next-line import/no-default-export\nexport default BlockchainPayloadPlugins\n"],"mappings":";AAAA,cAAc;AAEd,SAAS,8BAA8B;AAGhC,IAAM,2BAAgD,CAAC,GAAG,sBAAsB;AAGvF,IAAO,cAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,36 +10,49 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/ethereum-blockchain-payload-plugins": "~2.73.
|
|
14
|
-
"@xyo-network/payload-plugin": "~2.73.
|
|
13
|
+
"@xyo-network/ethereum-blockchain-payload-plugins": "~2.73.4",
|
|
14
|
+
"@xyo-network/payload-plugin": "~2.73.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "^2.19.
|
|
18
|
-
"@xylabs/tsconfig": "^2.19.
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.12",
|
|
18
|
+
"@xylabs/tsconfig": "^2.19.12",
|
|
19
|
+
"publint": "^0.2.2",
|
|
20
|
+
"tsup": "^7.2.0",
|
|
19
21
|
"typescript": "^5.2.2"
|
|
20
22
|
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"package-compile": "tsup && publint",
|
|
25
|
+
"package-recompile": "tsup && publint"
|
|
26
|
+
},
|
|
21
27
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
22
|
-
"browser": "dist/esm/index.js",
|
|
23
28
|
"docs": "dist/docs.json",
|
|
24
29
|
"exports": {
|
|
25
30
|
".": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
},
|
|
30
|
-
"browser": {
|
|
31
|
-
"import": "./dist/esm/index.js",
|
|
32
|
-
"require": "./dist/cjs/index.js"
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"default": "./dist/index.js"
|
|
33
34
|
},
|
|
34
|
-
"
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/index.d.mts",
|
|
37
|
+
"default": "./dist/index.mjs"
|
|
38
|
+
}
|
|
35
39
|
},
|
|
36
40
|
"./dist/docs.json": {
|
|
37
41
|
"default": "./dist/docs.json"
|
|
38
42
|
},
|
|
43
|
+
"./cjs": {
|
|
44
|
+
"default": "./dist/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./docs": {
|
|
47
|
+
"default": "./dist/docs.json"
|
|
48
|
+
},
|
|
49
|
+
"./esm": {
|
|
50
|
+
"default": "./dist/index.mjs"
|
|
51
|
+
},
|
|
39
52
|
"./package.json": "./package.json"
|
|
40
53
|
},
|
|
41
|
-
"main": "dist/
|
|
42
|
-
"module": "dist/
|
|
54
|
+
"main": "dist/index.js",
|
|
55
|
+
"module": "dist/index.mjs",
|
|
43
56
|
"homepage": "https://xyo.network",
|
|
44
57
|
"license": "LGPL-3.0",
|
|
45
58
|
"publishConfig": {
|
|
@@ -50,6 +63,6 @@
|
|
|
50
63
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
51
64
|
},
|
|
52
65
|
"sideEffects": false,
|
|
53
|
-
"types": "dist/
|
|
54
|
-
"version": "2.73.
|
|
66
|
+
"types": "dist/index.d.ts",
|
|
67
|
+
"version": "2.73.4"
|
|
55
68
|
}
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineConfig } from 'tsup'
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line import/no-default-export
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
bundle: true,
|
|
6
|
+
cjsInterop: true,
|
|
7
|
+
clean: false,
|
|
8
|
+
dts: {
|
|
9
|
+
entry: ['src/index.ts'],
|
|
10
|
+
},
|
|
11
|
+
entry: ['src/index.ts'],
|
|
12
|
+
format: ['cjs', 'esm'],
|
|
13
|
+
sourcemap: true,
|
|
14
|
+
splitting: false,
|
|
15
|
+
tsconfig: 'tsconfig.json',
|
|
16
|
+
})
|
package/dist/cjs/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BlockchainPayloadPlugins = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("@xyo-network/ethereum-blockchain-payload-plugins"), exports);
|
|
6
|
-
const ethereum_blockchain_payload_plugins_1 = require("@xyo-network/ethereum-blockchain-payload-plugins");
|
|
7
|
-
exports.BlockchainPayloadPlugins = [...ethereum_blockchain_payload_plugins_1.EthereumPayloadPlugins];
|
|
8
|
-
// eslint-disable-next-line import/no-default-export
|
|
9
|
-
exports.default = exports.BlockchainPayloadPlugins;
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,2FAAgE;AAEhE,0GAAyF;AAG5E,QAAA,wBAAwB,GAAwB,CAAC,GAAG,4DAAsB,CAAC,CAAA;AAExF,oDAAoD;AACpD,kBAAe,gCAAwB,CAAA"}
|
package/dist/esm/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from '@xyo-network/ethereum-blockchain-payload-plugins';
|
|
2
|
-
import { EthereumPayloadPlugins } from '@xyo-network/ethereum-blockchain-payload-plugins';
|
|
3
|
-
export const BlockchainPayloadPlugins = [...EthereumPayloadPlugins];
|
|
4
|
-
// eslint-disable-next-line import/no-default-export
|
|
5
|
-
export default BlockchainPayloadPlugins;
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAA;AAEhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AAGzF,MAAM,CAAC,MAAM,wBAAwB,GAAwB,CAAC,GAAG,sBAAsB,CAAC,CAAA;AAExF,oDAAoD;AACpD,eAAe,wBAAwB,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from '@xyo-network/ethereum-blockchain-payload-plugins';
|
|
2
|
-
import { PayloadPluginFunc } from '@xyo-network/payload-plugin';
|
|
3
|
-
export declare const BlockchainPayloadPlugins: PayloadPluginFunc[];
|
|
4
|
-
export default BlockchainPayloadPlugins;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAA;AAGhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAE/D,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,EAAgC,CAAA;AAGxF,eAAe,wBAAwB,CAAA"}
|