@xyo-network/protocol 2.72.9 → 2.73.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.
@@ -2,4 +2,3 @@ export * from '@xyo-network/account';
2
2
  export * from '@xyo-network/boundwitness';
3
3
  export * from '@xyo-network/core';
4
4
  export * from '@xyo-network/payload';
5
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@ export * from '@xyo-network/account';
2
2
  export * from '@xyo-network/boundwitness';
3
3
  export * from '@xyo-network/core';
4
4
  export * from '@xyo-network/payload';
5
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js ADDED
@@ -0,0 +1,31 @@
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 __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/index.ts
18
+ var src_exports = {};
19
+ module.exports = __toCommonJS(src_exports);
20
+ __reExport(src_exports, require("@xyo-network/account"), module.exports);
21
+ __reExport(src_exports, require("@xyo-network/boundwitness"), module.exports);
22
+ __reExport(src_exports, require("@xyo-network/core"), module.exports);
23
+ __reExport(src_exports, require("@xyo-network/payload"), module.exports);
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ ...require("@xyo-network/account"),
27
+ ...require("@xyo-network/boundwitness"),
28
+ ...require("@xyo-network/core"),
29
+ ...require("@xyo-network/payload")
30
+ });
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/account'\nexport * from '@xyo-network/boundwitness'\nexport * from '@xyo-network/core'\nexport * from '@xyo-network/payload'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,iCAAd;AACA,wBAAc,sCADd;AAEA,wBAAc,8BAFd;AAGA,wBAAc,iCAHd;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ export * from "@xyo-network/account";
3
+ export * from "@xyo-network/boundwitness";
4
+ export * from "@xyo-network/core";
5
+ export * from "@xyo-network/payload";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@xyo-network/account'\nexport * from '@xyo-network/boundwitness'\nexport * from '@xyo-network/core'\nexport * from '@xyo-network/payload'\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -10,38 +10,47 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/account": "~2.72.9",
14
- "@xyo-network/boundwitness": "~2.72.9",
15
- "@xyo-network/core": "~2.72.9",
16
- "@xyo-network/payload": "~2.72.9"
13
+ "@xyo-network/account": "~2.73.1",
14
+ "@xyo-network/boundwitness": "~2.73.1",
15
+ "@xyo-network/core": "~2.73.1",
16
+ "@xyo-network/payload": "~2.73.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@xylabs/ts-scripts-yarn3": "^2.19.3",
20
- "@xylabs/tsconfig": "^2.19.3",
19
+ "@xylabs/ts-scripts-yarn3": "^2.19.5",
20
+ "@xylabs/tsconfig": "^2.19.5",
21
+ "publint": "^0.2.2",
22
+ "tsup": "^7.2.0",
21
23
  "typescript": "^5.2.2"
22
24
  },
23
25
  "description": "Primary SDK for using XYO Protocol 2.0",
24
- "browser": "dist/esm/index.js",
25
26
  "docs": "dist/docs.json",
26
27
  "exports": {
27
28
  ".": {
28
- "node": {
29
- "import": "./dist/esm/index.js",
30
- "require": "./dist/cjs/index.js"
29
+ "require": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
31
32
  },
32
- "browser": {
33
- "import": "./dist/esm/index.js",
34
- "require": "./dist/cjs/index.js"
35
- },
36
- "default": "./dist/esm/index.js"
33
+ "import": {
34
+ "types": "./dist/index.d.mts",
35
+ "default": "./dist/index.mjs"
36
+ }
37
37
  },
38
38
  "./dist/docs.json": {
39
39
  "default": "./dist/docs.json"
40
40
  },
41
+ "./cjs": {
42
+ "default": "./dist/index.js"
43
+ },
44
+ "./docs": {
45
+ "default": "./dist/docs.json"
46
+ },
47
+ "./esm": {
48
+ "default": "./dist/index.mjs"
49
+ },
41
50
  "./package.json": "./package.json"
42
51
  },
43
- "main": "dist/cjs/index.js",
44
- "module": "dist/esm/index.js",
52
+ "main": "dist/index.js",
53
+ "module": "dist/index.mjs",
45
54
  "homepage": "https://xyo.network",
46
55
  "license": "LGPL-3.0",
47
56
  "publishConfig": {
@@ -51,7 +60,11 @@
51
60
  "type": "git",
52
61
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
53
62
  },
63
+ "scripts": {
64
+ "package-compile": "tsup && publint",
65
+ "package-recompile": "tsup && publint"
66
+ },
54
67
  "sideEffects": false,
55
- "types": "dist/types/index.d.ts",
56
- "version": "2.72.9"
68
+ "types": "dist/index.d.ts",
69
+ "version": "2.73.1"
57
70
  }
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: true,
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,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("@xyo-network/account"), exports);
5
- tslib_1.__exportStar(require("@xyo-network/boundwitness"), exports);
6
- tslib_1.__exportStar(require("@xyo-network/core"), exports);
7
- tslib_1.__exportStar(require("@xyo-network/payload"), exports);
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC;AACpC,oEAAyC;AACzC,4DAAiC;AACjC,+DAAoC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA"}