@trustwallet/wallet-core 2.9.5 → 2.9.8

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/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { TW } from "./generated/core_proto";
2
- import * as WalletCore from "./lib/wallet-core";
3
- export { TW, WalletCore };
1
+ export { TW } from "./generated/core_proto";
2
+ export * as WalletCore from "./lib/wallet-core";
package/dist/index.js CHANGED
@@ -1,12 +1,21 @@
1
- "use strict";
2
1
  // Copyright © 2017-2022 Trust Wallet.
3
2
  //
4
3
  // This file is part of Trust. The full Trust copyright notice, including
5
4
  // terms governing use, modification, and redistribution, is contained in the
6
5
  // file LICENSE at the root of the source code distribution tree.
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.WalletCore = exports.TW = void 0;
9
- var core_proto_1 = require("./generated/core_proto");
10
- Object.defineProperty(exports, "TW", { enumerable: true, get: function () { return core_proto_1.TW; } });
11
- var WalletCore = require("./lib/wallet-core");
12
- exports.WalletCore = WalletCore;
6
+ (function (factory) {
7
+ if (typeof module === "object" && typeof module.exports === "object") {
8
+ var v = factory(require, exports);
9
+ if (v !== undefined) module.exports = v;
10
+ }
11
+ else if (typeof define === "function" && define.amd) {
12
+ define(["require", "exports", "./generated/core_proto", "./lib/wallet-core"], factory);
13
+ }
14
+ })(function (require, exports) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.WalletCore = exports.TW = void 0;
18
+ var core_proto_1 = require("./generated/core_proto");
19
+ Object.defineProperty(exports, "TW", { enumerable: true, get: function () { return core_proto_1.TW; } });
20
+ exports.WalletCore = require("./lib/wallet-core");
21
+ });