@pushchain/ui-kit 5.2.0-alpha.4 → 5.2.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ @pushchain/ui-kit@5.2.0 (2026-04-09)
2
+
3
+ - release: bump to 5.1.1
4
+
5
+ ---
6
+
1
7
  @pushchain/ui-kit@5.2.0 (2026-04-06)
2
8
 
3
9
  - release: bump to 5.1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushchain/ui-kit",
3
- "version": "5.2.0-alpha.4",
3
+ "version": "5.2.0",
4
4
  "homepage": "https://push.org",
5
5
  "keywords": [
6
6
  "pushchain",
@@ -0,0 +1,4 @@
1
+ import type { Buffer as BufferType } from 'buffer';
2
+ declare global {
3
+ var Buffer: BufferType;
4
+ }
@@ -1,16 +1,13 @@
1
1
  "use strict";
2
- // import { Buffer as PolyBuffer } from 'buffer';
3
- // import type { Buffer as BufferType } from 'buffer';
4
- // declare global {
5
- // // eslint-disable-next-line no-var
6
- // var Buffer: BufferType;
7
- // }
8
- // const g: any = globalThis;
9
- // if (!g.Buffer || !g.Buffer.from || !g.Buffer.alloc) g.Buffer = PolyBuffer;
10
- // if (typeof globalThis.process === 'undefined') {
11
- // (globalThis as any).process = { env: {} };
12
- // }
13
- // if (typeof globalThis.global === 'undefined') {
14
- // (globalThis as any).global = globalThis;
15
- // }
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const buffer_1 = require("buffer");
4
+ const g = globalThis;
5
+ if (!g.Buffer || !g.Buffer.from || !g.Buffer.alloc)
6
+ g.Buffer = buffer_1.Buffer;
7
+ if (typeof globalThis.process === 'undefined') {
8
+ globalThis.process = { env: {} };
9
+ }
10
+ if (typeof globalThis.global === 'undefined') {
11
+ globalThis.global = globalThis;
12
+ }
16
13
  //# 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,iDAAiD;AACjD,sDAAsD;AAEtD,mBAAmB;AACnB,uCAAuC;AACvC,4BAA4B;AAC5B,IAAI;AAEJ,6BAA6B;AAC7B,6EAA6E;AAE7E,mDAAmD;AACnD,+CAA+C;AAC/C,IAAI;AAEJ,kDAAkD;AAClD,6CAA6C;AAC7C,IAAI"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/ui-kit/src/lib/polyfills/index.ts"],"names":[],"mappings":";;AAAA,mCAA8C;AAQ9C,MAAM,CAAC,GAAQ,UAAU,CAAC;AAC1B,IAAI,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK;IAAE,CAAC,CAAC,MAAM,GAAG,eAAU,CAAC;AAE1E,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"}