@pushchain/core 0.1.42-alpha.8 → 0.1.42
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
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -2,8 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
require("./lib/internal/global-buffer-polyfill");
|
|
5
|
-
// import { Buffer as PolyBuffer } from 'buffer';
|
|
6
|
-
// export const Buffer: typeof PolyBuffer =
|
|
7
|
-
// (globalThis as any).Buffer ?? PolyBuffer;
|
|
8
5
|
tslib_1.__exportStar(require("./lib"), exports);
|
|
9
6
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+C;AAE/C,gDAAsB"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// import { Buffer as PolyBuffer } from 'buffer';
|
|
4
3
|
const buffer_1 = require("./buffer");
|
|
5
4
|
const g = globalThis;
|
|
6
5
|
if (!g.Buffer || !g.Buffer.from || !g.Buffer.alloc) {
|
|
7
6
|
g.Buffer = buffer_1.Buffer;
|
|
8
7
|
}
|
|
9
|
-
// // (Optional) help TS
|
|
10
|
-
// declare global {
|
|
11
|
-
// // eslint-disable-next-line no-var
|
|
12
|
-
// var Buffer: typeof PolyBuffer;
|
|
13
|
-
// }
|
|
14
8
|
//# sourceMappingURL=global-buffer-polyfill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-buffer-polyfill.js","sourceRoot":"","sources":["../../../../../../packages/core/src/lib/internal/global-buffer-polyfill.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"global-buffer-polyfill.js","sourceRoot":"","sources":["../../../../../../packages/core/src/lib/internal/global-buffer-polyfill.ts"],"names":[],"mappings":";;AAAA,qCAAgD;AAEhD,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,EAAE,CAAC;IACnD,CAAC,CAAC,MAAM,GAAG,eAAU,CAAC;AACxB,CAAC"}
|