@sentio/sdk 2.40.0-rc.6 → 2.40.0-rc.7

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.
@@ -10,17 +10,16 @@ import "../chunk-7YPKLLV7.js";
10
10
  import {
11
11
  SuiNetwork
12
12
  } from "../chunk-YOLIZKGZ.js";
13
- import "../chunk-O6QXDRGG.js";
13
+ import "../chunk-MWZAET2D.js";
14
14
  import {
15
15
  AptosNetwork
16
- } from "../chunk-GOWJIAB2.js";
16
+ } from "../chunk-2NGFZ42P.js";
17
17
  import "../chunk-FDUS22B3.js";
18
18
  import "../chunk-QICIZSV4.js";
19
19
  import "../chunk-2OQOJLR4.js";
20
20
  import {
21
21
  bytesToBigInt
22
22
  } from "../chunk-EMF4HXFG.js";
23
- import "../chunk-UHPXAMY7.js";
24
23
  import "../chunk-QTWMU7GQ.js";
25
24
  import {
26
25
  SPLITTER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "2.40.0-rc.6",
3
+ "version": "2.40.0-rc.7",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -15,5 +15,5 @@ export default defineConfig({
15
15
  dts: true,
16
16
  format: 'esm',
17
17
  // keepNames: true,
18
- external: ['@project-serum/anchor', /^@sentio\/(ethers).*$/, 'graphql']
18
+ external: ['@project-serum/anchor', /^@sentio\/(ethers).*$/, 'graphql', 'typechain']
19
19
  })
@@ -1,85 +0,0 @@
1
- import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
2
- import {
3
- __commonJS
4
- } from "./chunk-AXRHIURD.js";
5
-
6
- // ../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js
7
- var require_wrappy = __commonJS({
8
- "../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"(exports, module) {
9
- module.exports = wrappy;
10
- function wrappy(fn, cb) {
11
- if (fn && cb)
12
- return wrappy(fn)(cb);
13
- if (typeof fn !== "function")
14
- throw new TypeError("need wrapper function");
15
- Object.keys(fn).forEach(function(k) {
16
- wrapper[k] = fn[k];
17
- });
18
- return wrapper;
19
- function wrapper() {
20
- var args = new Array(arguments.length);
21
- for (var i = 0; i < args.length; i++) {
22
- args[i] = arguments[i];
23
- }
24
- var ret = fn.apply(this, args);
25
- var cb2 = args[args.length - 1];
26
- if (typeof ret === "function" && ret !== cb2) {
27
- Object.keys(cb2).forEach(function(k) {
28
- ret[k] = cb2[k];
29
- });
30
- }
31
- return ret;
32
- }
33
- }
34
- }
35
- });
36
-
37
- // ../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js
38
- var require_once = __commonJS({
39
- "../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"(exports, module) {
40
- var wrappy = require_wrappy();
41
- module.exports = wrappy(once);
42
- module.exports.strict = wrappy(onceStrict);
43
- once.proto = once(function() {
44
- Object.defineProperty(Function.prototype, "once", {
45
- value: function() {
46
- return once(this);
47
- },
48
- configurable: true
49
- });
50
- Object.defineProperty(Function.prototype, "onceStrict", {
51
- value: function() {
52
- return onceStrict(this);
53
- },
54
- configurable: true
55
- });
56
- });
57
- function once(fn) {
58
- var f = function() {
59
- if (f.called)
60
- return f.value;
61
- f.called = true;
62
- return f.value = fn.apply(this, arguments);
63
- };
64
- f.called = false;
65
- return f;
66
- }
67
- function onceStrict(fn) {
68
- var f = function() {
69
- if (f.called)
70
- throw new Error(f.onceError);
71
- f.called = true;
72
- return f.value = fn.apply(this, arguments);
73
- };
74
- var name = fn.name || "Function wrapped with `once`";
75
- f.onceError = name + " shouldn't be called more than once";
76
- f.called = false;
77
- return f;
78
- }
79
- }
80
- });
81
-
82
- export {
83
- require_wrappy,
84
- require_once
85
- };