@xoxno/sdk-js 0.0.14-alpha → 0.0.16-alpha

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.
@@ -93,5 +93,6 @@ export interface NftData {
93
93
  isStaked?: boolean;
94
94
  currentEpoch?: number;
95
95
  hasUboundPeriod?: boolean;
96
+ unboundEpoch?: number;
96
97
  balance?: number;
97
98
  }
@@ -9,6 +9,8 @@ export type StakingPool = {
9
9
  whitelist_pool: boolean;
10
10
  is_active: boolean;
11
11
  is_stake_enabled: boolean;
12
+ daily_reward_in_egld?: number;
13
+ daily_reward_in_usd?: number;
12
14
  expiration_in_days: number;
13
15
  profile: string;
14
16
  unbound_period: number;
@@ -34,7 +36,8 @@ export declare enum IssuingType {
34
36
  }
35
37
  export declare enum PoolType {
36
38
  Duo = "Duo",
37
- Single = "Single"
39
+ Single = "Single",
40
+ Perk = "Perk"
38
41
  }
39
42
  export type Reward = {
40
43
  value: number;
@@ -10,5 +10,6 @@ var PoolType;
10
10
  (function (PoolType) {
11
11
  PoolType["Duo"] = "Duo";
12
12
  PoolType["Single"] = "Single";
13
+ PoolType["Perk"] = "Perk";
13
14
  })(PoolType = exports.PoolType || (exports.PoolType = {}));
14
15
  //# sourceMappingURL=staking.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"staking.js","sourceRoot":"","sources":["../../src/types/staking.ts"],"names":[],"mappings":";;;AAgCA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,6BAAiB,CAAA;AACnB,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB"}
1
+ {"version":3,"file":"staking.js","sourceRoot":"","sources":["../../src/types/staking.ts"],"names":[],"mappings":";;;AAkCA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "0.0.14-alpha",
3
+ "version": "0.0.16-alpha",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "@typescript-eslint/parser": "^5.56.0",
55
55
  "commitizen": "^4.3.0",
56
56
  "cz-conventional-changelog": "^3.3.0",
57
- "eslint": "^8.36.0",
57
+ "eslint": "^8.39.0",
58
58
  "eslint-config-prettier": "^8.8.0",
59
59
  "eslint-plugin-prettier": "^4.2.1",
60
60
  "husky": "^8.0.3",
@@ -63,12 +63,12 @@
63
63
  "semantic-release": "^21.0.0",
64
64
  "ts-jest": "^29.0.5",
65
65
  "ts-loader": "^9.4.2",
66
- "typedoc": "^0.23.28",
66
+ "typedoc": "^0.24.4",
67
67
  "typescript": "^5.0.2"
68
68
  },
69
69
  "dependencies": {
70
- "@multiversx/sdk-core": "^12",
71
- "@multiversx/sdk-network-providers": "^1.3.0",
72
- "axios": "^1.3.4"
70
+ "@multiversx/sdk-core": "^12.1.1",
71
+ "@multiversx/sdk-network-providers": "^1.4.0",
72
+ "axios": "^1.3.6"
73
73
  }
74
74
  }