@xyo-network/ethereum-blockchain-plugins 2.73.2 → 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.
@@ -0,0 +1,6 @@
1
+ export * from '@xyo-network/gas-ethereum-blockchain-plugins';
2
+ import { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin';
3
+
4
+ declare const EthereumPlugins: PayloadSetPluginFunc[];
5
+
6
+ export { EthereumPlugins, EthereumPlugins as default };
@@ -1,5 +1,6 @@
1
1
  export * from '@xyo-network/gas-ethereum-blockchain-plugins';
2
2
  import { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin';
3
- export declare const EthereumPlugins: PayloadSetPluginFunc[];
4
- export default EthereumPlugins;
5
- //# sourceMappingURL=index.d.ts.map
3
+
4
+ declare const EthereumPlugins: PayloadSetPluginFunc[];
5
+
6
+ export { EthereumPlugins, EthereumPlugins 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
+ EthereumPlugins: () => EthereumPlugins,
25
+ default: () => src_default
26
+ });
27
+ module.exports = __toCommonJS(src_exports);
28
+ __reExport(src_exports, require("@xyo-network/gas-ethereum-blockchain-plugins"), module.exports);
29
+ var import_gas_ethereum_blockchain_plugins = require("@xyo-network/gas-ethereum-blockchain-plugins");
30
+ var EthereumPlugins = [...import_gas_ethereum_blockchain_plugins.EthereumGasPlugins];
31
+ var src_default = EthereumPlugins;
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ EthereumPlugins,
35
+ ...require("@xyo-network/gas-ethereum-blockchain-plugins")
36
+ });
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/gas-ethereum-blockchain-plugins'\n\nimport { EthereumGasPlugins } from '@xyo-network/gas-ethereum-blockchain-plugins'\nimport { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'\n\nexport const EthereumPlugins: PayloadSetPluginFunc[] = [...EthereumGasPlugins]\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumPlugins\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,yDAAd;AAEA,6CAAmC;AAG5B,IAAM,kBAA0C,CAAC,GAAG,yDAAkB;AAG7E,IAAO,cAAQ;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,10 @@
1
+ // src/index.ts
2
+ export * from "@xyo-network/gas-ethereum-blockchain-plugins";
3
+ import { EthereumGasPlugins } from "@xyo-network/gas-ethereum-blockchain-plugins";
4
+ var EthereumPlugins = [...EthereumGasPlugins];
5
+ var src_default = EthereumPlugins;
6
+ export {
7
+ EthereumPlugins,
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/gas-ethereum-blockchain-plugins'\n\nimport { EthereumGasPlugins } from '@xyo-network/gas-ethereum-blockchain-plugins'\nimport { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'\n\nexport const EthereumPlugins: PayloadSetPluginFunc[] = [...EthereumGasPlugins]\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumPlugins\n"],"mappings":";AAAA,cAAc;AAEd,SAAS,0BAA0B;AAG5B,IAAM,kBAA0C,CAAC,GAAG,kBAAkB;AAG7E,IAAO,cAAQ;","names":[]}
package/package.json CHANGED
@@ -10,36 +10,50 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/gas-ethereum-blockchain-plugins": "~2.73.2",
14
- "@xyo-network/payloadset-plugin": "~2.73.2"
13
+ "@xyo-network/gas-ethereum-blockchain-plugins": "~2.73.4",
14
+ "@xyo-network/payloadset-plugin": "~2.73.4"
15
15
  },
16
16
  "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^2.19.5",
18
- "@xylabs/tsconfig": "^2.19.5",
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",
29
+ "types": "dist/index.d.ts",
24
30
  "exports": {
25
31
  ".": {
26
- "node": {
27
- "import": "./dist/esm/index.js",
28
- "require": "./dist/cjs/index.js"
29
- },
30
- "browser": {
31
- "import": "./dist/esm/index.js",
32
- "require": "./dist/cjs/index.js"
32
+ "require": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.js"
33
35
  },
34
- "default": "./dist/esm/index.js"
36
+ "import": {
37
+ "types": "./dist/index.d.mts",
38
+ "default": "./dist/index.mjs"
39
+ }
35
40
  },
36
41
  "./dist/docs.json": {
37
42
  "default": "./dist/docs.json"
38
43
  },
44
+ "./cjs": {
45
+ "default": "./dist/index.js"
46
+ },
47
+ "./docs": {
48
+ "default": "./dist/docs.json"
49
+ },
50
+ "./esm": {
51
+ "default": "./dist/index.mjs"
52
+ },
39
53
  "./package.json": "./package.json"
40
54
  },
41
- "main": "dist/cjs/index.js",
42
- "module": "dist/esm/index.js",
55
+ "main": "dist/index.js",
56
+ "module": "dist/index.mjs",
43
57
  "homepage": "https://xyo.network",
44
58
  "license": "LGPL-3.0",
45
59
  "publishConfig": {
@@ -50,6 +64,5 @@
50
64
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
51
65
  },
52
66
  "sideEffects": false,
53
- "types": "dist/types/index.d.ts",
54
- "version": "2.73.2"
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.EthereumPlugins = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("@xyo-network/gas-ethereum-blockchain-plugins"), exports);
6
- const gas_ethereum_blockchain_plugins_1 = require("@xyo-network/gas-ethereum-blockchain-plugins");
7
- exports.EthereumPlugins = [...gas_ethereum_blockchain_plugins_1.EthereumGasPlugins];
8
- // eslint-disable-next-line import/no-default-export
9
- exports.default = exports.EthereumPlugins;
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,uFAA4D;AAE5D,kGAAiF;AAGpE,QAAA,eAAe,GAA2B,CAAC,GAAG,oDAAkB,CAAC,CAAA;AAE9E,oDAAoD;AACpD,kBAAe,uBAAe,CAAA"}
package/dist/esm/index.js DELETED
@@ -1,6 +0,0 @@
1
- export * from '@xyo-network/gas-ethereum-blockchain-plugins';
2
- import { EthereumGasPlugins } from '@xyo-network/gas-ethereum-blockchain-plugins';
3
- export const EthereumPlugins = [...EthereumGasPlugins];
4
- // eslint-disable-next-line import/no-default-export
5
- export default EthereumPlugins;
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAA;AAE5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAA;AAGjF,MAAM,CAAC,MAAM,eAAe,GAA2B,CAAC,GAAG,kBAAkB,CAAC,CAAA;AAE9E,oDAAoD;AACpD,eAAe,eAAe,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAA;AAG5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AAErE,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAA4B,CAAA;AAG9E,eAAe,eAAe,CAAA"}