@pioneer-platform/pioneer-types 8.1.49 → 8.1.50
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/lib/api-private.js +3 -1
- package/lib/index.js +6 -2
- package/lib/pioneer.d.ts +7 -5
- package/package.json +4 -4
package/lib/api-private.js
CHANGED
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
3
3
|
var extendStatics = function (d, b) {
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
-
function (d, b) { for (var p in b) if (
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
7
|
return extendStatics(d, b);
|
8
8
|
};
|
9
9
|
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
10
12
|
extendStatics(d, b);
|
11
13
|
function __() { this.constructor = d; }
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
package/lib/index.js
CHANGED
@@ -7,13 +7,17 @@
|
|
7
7
|
*/
|
8
8
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
9
9
|
if (k2 === undefined) k2 = k;
|
10
|
-
Object.
|
10
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
11
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
12
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
13
|
+
}
|
14
|
+
Object.defineProperty(o, k2, desc);
|
11
15
|
}) : (function(o, m, k, k2) {
|
12
16
|
if (k2 === undefined) k2 = k;
|
13
17
|
o[k2] = m[k];
|
14
18
|
}));
|
15
19
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
16
|
-
for (var p in m) if (p !== "default" && !
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
17
21
|
};
|
18
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
19
23
|
var TAG = " | Pioneer-types | ";
|
package/lib/pioneer.d.ts
CHANGED
@@ -81,11 +81,13 @@ export interface Pubkey {
|
|
81
81
|
balance: string;
|
82
82
|
valueUsd: string;
|
83
83
|
context: string;
|
84
|
-
balances: [
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
84
|
+
balances: [
|
85
|
+
{
|
86
|
+
balance: string;
|
87
|
+
symbol: string;
|
88
|
+
network: string;
|
89
|
+
}
|
90
|
+
];
|
89
91
|
}
|
90
92
|
export interface SDKConfig {
|
91
93
|
service?: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pioneer-platform/pioneer-types",
|
3
|
-
"version": "8.1.
|
3
|
+
"version": "8.1.50",
|
4
4
|
"main": "./lib/index.js",
|
5
5
|
"types": "./lib/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -20,13 +20,13 @@
|
|
20
20
|
"clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
|
-
"@pioneer-platform/pioneer-types": "^8.1.
|
23
|
+
"@pioneer-platform/pioneer-types": "^8.1.50"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/jest": "^25.2.3",
|
27
27
|
"@types/node": "^13.13.51",
|
28
28
|
"@types/source-map-support": "^0.5.3",
|
29
|
-
"typescript": "^
|
29
|
+
"typescript": "^5.0.2"
|
30
30
|
},
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "91ad3edab81c48d12dbb23e33041d5adda2edf50"
|
32
32
|
}
|