@pushchain/ui-kit 1.1.26-alpha.3 → 1.1.26-alpha.5

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pushchain/ui-kit",
3
- "version": "1.1.26-alpha.3",
3
+ "version": "1.1.26-alpha.5",
4
4
  "dependencies": {
5
5
  "@coral-xyz/anchor": "^0.31.1",
6
6
  "@metamask/sdk": "^0.32.0",
7
- "@pushchain/core": "^0.1.40",
7
+ "@pushchain/core": "^0.1.42-alpha.4",
8
8
  "@solana/web3.js": "^1.98.2",
9
9
  "@walletconnect/ethereum-provider": "^2.21.5",
10
10
  "buffer": "^6.0.3",
package/src/index.d.ts CHANGED
@@ -1,2 +1 @@
1
- import './shim';
2
1
  export * from './lib';
package/src/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- require("./shim");
5
4
  tslib_1.__exportStar(require("./lib"), exports);
6
5
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ui-kit/src/index.ts"],"names":[],"mappings":";;;AAAA,kBAAgB;AAChB,gDAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ui-kit/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,11 +1,14 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const buffer_1 = tslib_1.__importDefault(require("buffer"));
2
5
  if (typeof globalThis.process === 'undefined') {
3
6
  globalThis.process = { env: {} };
4
7
  }
5
8
  if (typeof globalThis.global === 'undefined') {
6
9
  globalThis.global = globalThis;
7
10
  }
8
- // if (typeof globalThis.Buffer === 'undefined') {
9
- // (globalThis as any).Buffer = NodeBuffer;
10
- // }
11
+ if (typeof globalThis.Buffer === 'undefined') {
12
+ globalThis.Buffer = buffer_1.default;
13
+ }
11
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/ui-kit/src/lib/polyfills/index.ts"],"names":[],"mappings":";AAAA,IAAI,OAAO,UAAU,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;IAC7C,UAAkB,CAAC,OAAO,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAC5C,CAAC;AAED,IAAI,OAAO,UAAU,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;IAC5C,UAAkB,CAAC,MAAM,GAAG,UAAU,CAAC;AAC1C,CAAC;AAED,kDAAkD;AAClD,6CAA6C;AAC7C,IAAI"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/ui-kit/src/lib/polyfills/index.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,IAAI,OAAO,UAAU,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;IAC7C,UAAkB,CAAC,OAAO,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAC5C,CAAC;AAED,IAAI,OAAO,UAAU,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;IAC5C,UAAkB,CAAC,MAAM,GAAG,UAAU,CAAC;AAC1C,CAAC;AAED,IAAI,OAAO,UAAU,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;IAC5C,UAAkB,CAAC,MAAM,GAAG,gBAAM,CAAC;AACtC,CAAC"}
package/src/lib/shim.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/src/lib/shim.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // Polyfill for Buffer
4
- const buffer_1 = require("buffer");
5
- if (!globalThis.Buffer) {
6
- globalThis.Buffer = buffer_1.Buffer;
7
- }
8
- //# sourceMappingURL=shim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shim.js","sourceRoot":"","sources":["../../../../../packages/ui-kit/src/lib/shim.ts"],"names":[],"mappings":";;AAAA,sBAAsB;AACtB,mCAAgC;AAEhC,IAAI,CAAE,UAAkB,CAAC,MAAM,EAAE,CAAC;IAC/B,UAAkB,CAAC,MAAM,GAAG,eAAM,CAAC;AACtC,CAAC"}