@blocklet/payment-types 1.13.284 → 1.13.285
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/refund.d.ts +1 -0
- package/lib/types.d.ts +2 -1
- package/package.json +5 -5
package/lib/refund.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare class Refund extends Model<InferAttributes<Refund>, InferCreation
|
|
|
28
28
|
ending_token_balance?: Record<string, string>;
|
|
29
29
|
created_at: CreationOptional<Date>;
|
|
30
30
|
updated_at: CreationOptional<Date>;
|
|
31
|
+
type: LiteralUnion<'refund' | 'stake_return', string>;
|
|
31
32
|
static readonly GENESIS_ATTRIBUTES: {
|
|
32
33
|
id: {
|
|
33
34
|
type: DataTypes.StringDataType;
|
package/lib/types.d.ts
CHANGED
|
@@ -224,7 +224,8 @@ export type PaymentDetails = {
|
|
|
224
224
|
arcblock?: {
|
|
225
225
|
tx_hash: string;
|
|
226
226
|
payer: string;
|
|
227
|
-
type?: LiteralUnion<'slash' | 'transfer' | 'delegate', string>;
|
|
227
|
+
type?: LiteralUnion<'slash' | 'transfer' | 'delegate' | 'stake_return', string>;
|
|
228
|
+
receiver?: string;
|
|
228
229
|
staking?: {
|
|
229
230
|
tx_hash: string;
|
|
230
231
|
address: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-types",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.285",
|
|
4
4
|
"description": "Typings for Payment Kit SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@arcblock/eslint-config": "^0.3.
|
|
44
|
-
"@arcblock/eslint-config-ts": "^0.3.
|
|
43
|
+
"@arcblock/eslint-config": "^0.3.2",
|
|
44
|
+
"@arcblock/eslint-config-ts": "^0.3.2",
|
|
45
45
|
"import-sort-style-module": "^6.0.0",
|
|
46
|
-
"prettier": "^
|
|
46
|
+
"prettier": "^3.3.2",
|
|
47
47
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
48
48
|
"sequelize": "^6.37.3",
|
|
49
49
|
"type-fest": "^4.19.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d95d4a86102a7394461680849860140aa372ab06"
|
|
52
52
|
}
|