@xyo-network/gas-ethereum-blockchain-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.
@@ -0,0 +1,7 @@
1
+ export * from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins';
2
+ export * from '@xyo-network/etherscan-ethereum-gas-plugin';
3
+ import { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin';
4
+
5
+ declare const EthereumGasPlugins: PayloadSetPluginFunc[];
6
+
7
+ export { EthereumGasPlugins, EthereumGasPlugins as default };
@@ -1,6 +1,7 @@
1
1
  export * from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins';
2
2
  export * from '@xyo-network/etherscan-ethereum-gas-plugin';
3
3
  import { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin';
4
- export declare const EthereumGasPlugins: PayloadSetPluginFunc[];
5
- export default EthereumGasPlugins;
6
- //# sourceMappingURL=index.d.ts.map
4
+
5
+ declare const EthereumGasPlugins: PayloadSetPluginFunc[];
6
+
7
+ export { EthereumGasPlugins, EthereumGasPlugins as default };
package/dist/index.js ADDED
@@ -0,0 +1,40 @@
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
+ EthereumGasPlugins: () => EthereumGasPlugins,
25
+ default: () => src_default
26
+ });
27
+ module.exports = __toCommonJS(src_exports);
28
+ __reExport(src_exports, require("@xyo-network/etherchain-gas-ethereum-blockchain-plugins"), module.exports);
29
+ __reExport(src_exports, require("@xyo-network/etherscan-ethereum-gas-plugin"), module.exports);
30
+ var import_etherchain_gas_ethereum_blockchain_plugins = require("@xyo-network/etherchain-gas-ethereum-blockchain-plugins");
31
+ var import_etherscan_ethereum_gas_plugin = require("@xyo-network/etherscan-ethereum-gas-plugin");
32
+ var EthereumGasPlugins = [...import_etherchain_gas_ethereum_blockchain_plugins.EthereumGasEtherchainPlugins, import_etherscan_ethereum_gas_plugin.EthereumGasEtherscanPlugin];
33
+ var src_default = EthereumGasPlugins;
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ EthereumGasPlugins,
37
+ ...require("@xyo-network/etherchain-gas-ethereum-blockchain-plugins"),
38
+ ...require("@xyo-network/etherscan-ethereum-gas-plugin")
39
+ });
40
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins'\nexport * from '@xyo-network/etherscan-ethereum-gas-plugin'\n\nimport { EthereumGasEtherchainPlugins } from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins'\nimport { EthereumGasEtherscanPlugin } from '@xyo-network/etherscan-ethereum-gas-plugin'\nimport { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'\n\nexport const EthereumGasPlugins: PayloadSetPluginFunc[] = [...EthereumGasEtherchainPlugins, EthereumGasEtherscanPlugin]\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumGasPlugins\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,oEAAd;AACA,wBAAc,uDADd;AAGA,wDAA6C;AAC7C,2CAA2C;AAGpC,IAAM,qBAA6C,CAAC,GAAG,gFAA8B,+DAA0B;AAGtH,IAAO,cAAQ;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ // src/index.ts
2
+ export * from "@xyo-network/etherchain-gas-ethereum-blockchain-plugins";
3
+ export * from "@xyo-network/etherscan-ethereum-gas-plugin";
4
+ import { EthereumGasEtherchainPlugins } from "@xyo-network/etherchain-gas-ethereum-blockchain-plugins";
5
+ import { EthereumGasEtherscanPlugin } from "@xyo-network/etherscan-ethereum-gas-plugin";
6
+ var EthereumGasPlugins = [...EthereumGasEtherchainPlugins, EthereumGasEtherscanPlugin];
7
+ var src_default = EthereumGasPlugins;
8
+ export {
9
+ EthereumGasPlugins,
10
+ src_default as default
11
+ };
12
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins'\nexport * from '@xyo-network/etherscan-ethereum-gas-plugin'\n\nimport { EthereumGasEtherchainPlugins } from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins'\nimport { EthereumGasEtherscanPlugin } from '@xyo-network/etherscan-ethereum-gas-plugin'\nimport { PayloadSetPluginFunc } from '@xyo-network/payloadset-plugin'\n\nexport const EthereumGasPlugins: PayloadSetPluginFunc[] = [...EthereumGasEtherchainPlugins, EthereumGasEtherscanPlugin]\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumGasPlugins\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AAEd,SAAS,oCAAoC;AAC7C,SAAS,kCAAkC;AAGpC,IAAM,qBAA6C,CAAC,GAAG,8BAA8B,0BAA0B;AAGtH,IAAO,cAAQ;","names":[]}
package/package.json CHANGED
@@ -10,37 +10,51 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "~2.73.3",
14
- "@xyo-network/etherscan-ethereum-gas-plugin": "~2.73.3",
15
- "@xyo-network/payloadset-plugin": "~2.73.3"
13
+ "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "~2.73.4",
14
+ "@xyo-network/etherscan-ethereum-gas-plugin": "~2.73.4",
15
+ "@xyo-network/payloadset-plugin": "~2.73.4"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^2.19.5",
19
- "@xylabs/tsconfig": "^2.19.5",
18
+ "@xylabs/ts-scripts-yarn3": "^2.19.12",
19
+ "@xylabs/tsconfig": "^2.19.12",
20
+ "publint": "^0.2.2",
21
+ "tsup": "^7.2.0",
20
22
  "typescript": "^5.2.2"
21
23
  },
24
+ "scripts": {
25
+ "package-compile": "tsup && publint",
26
+ "package-recompile": "tsup && publint"
27
+ },
22
28
  "description": "Primary SDK for using XYO Protocol 2.0",
23
- "browser": "dist/esm/index.js",
24
29
  "docs": "dist/docs.json",
30
+ "types": "dist/index.d.ts",
25
31
  "exports": {
26
32
  ".": {
27
- "node": {
28
- "import": "./dist/esm/index.js",
29
- "require": "./dist/cjs/index.js"
30
- },
31
- "browser": {
32
- "import": "./dist/esm/index.js",
33
- "require": "./dist/cjs/index.js"
33
+ "require": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
34
36
  },
35
- "default": "./dist/esm/index.js"
37
+ "import": {
38
+ "types": "./dist/index.d.mts",
39
+ "default": "./dist/index.mjs"
40
+ }
36
41
  },
37
42
  "./dist/docs.json": {
38
43
  "default": "./dist/docs.json"
39
44
  },
45
+ "./cjs": {
46
+ "default": "./dist/index.js"
47
+ },
48
+ "./docs": {
49
+ "default": "./dist/docs.json"
50
+ },
51
+ "./esm": {
52
+ "default": "./dist/index.mjs"
53
+ },
40
54
  "./package.json": "./package.json"
41
55
  },
42
- "main": "dist/cjs/index.js",
43
- "module": "dist/esm/index.js",
56
+ "main": "dist/index.js",
57
+ "module": "dist/index.mjs",
44
58
  "homepage": "https://xyo.network",
45
59
  "license": "LGPL-3.0",
46
60
  "publishConfig": {
@@ -51,6 +65,5 @@
51
65
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
52
66
  },
53
67
  "sideEffects": false,
54
- "types": "dist/types/index.d.ts",
55
- "version": "2.73.3"
68
+ "version": "2.73.4"
56
69
  }
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,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EthereumGasPlugins = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("@xyo-network/etherchain-gas-ethereum-blockchain-plugins"), exports);
6
- tslib_1.__exportStar(require("@xyo-network/etherscan-ethereum-gas-plugin"), exports);
7
- const etherchain_gas_ethereum_blockchain_plugins_1 = require("@xyo-network/etherchain-gas-ethereum-blockchain-plugins");
8
- const etherscan_ethereum_gas_plugin_1 = require("@xyo-network/etherscan-ethereum-gas-plugin");
9
- exports.EthereumGasPlugins = [...etherchain_gas_ethereum_blockchain_plugins_1.EthereumGasEtherchainPlugins, etherscan_ethereum_gas_plugin_1.EthereumGasEtherscanPlugin];
10
- // eslint-disable-next-line import/no-default-export
11
- exports.default = exports.EthereumGasPlugins;
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,kGAAuE;AACvE,qFAA0D;AAE1D,wHAAsG;AACtG,8FAAuF;AAG1E,QAAA,kBAAkB,GAA2B,CAAC,GAAG,yEAA4B,EAAE,0DAA0B,CAAC,CAAA;AAEvH,oDAAoD;AACpD,kBAAe,0BAAkB,CAAA"}
package/dist/esm/index.js DELETED
@@ -1,8 +0,0 @@
1
- export * from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins';
2
- export * from '@xyo-network/etherscan-ethereum-gas-plugin';
3
- import { EthereumGasEtherchainPlugins } from '@xyo-network/etherchain-gas-ethereum-blockchain-plugins';
4
- import { EthereumGasEtherscanPlugin } from '@xyo-network/etherscan-ethereum-gas-plugin';
5
- export const EthereumGasPlugins = [...EthereumGasEtherchainPlugins, EthereumGasEtherscanPlugin];
6
- // eslint-disable-next-line import/no-default-export
7
- export default EthereumGasPlugins;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAA;AACvE,cAAc,4CAA4C,CAAA;AAE1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAA;AACtG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAA;AAGvF,MAAM,CAAC,MAAM,kBAAkB,GAA2B,CAAC,GAAG,4BAA4B,EAAE,0BAA0B,CAAC,CAAA;AAEvH,oDAAoD;AACpD,eAAe,kBAAkB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAA;AACvE,cAAc,4CAA4C,CAAA;AAI1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AAErE,eAAO,MAAM,kBAAkB,EAAE,oBAAoB,EAAkE,CAAA;AAGvH,eAAe,kBAAkB,CAAA"}