@blocklet/payment-types 1.13.284 → 1.13.286

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 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.284",
3
+ "version": "1.13.286",
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.0",
44
- "@arcblock/eslint-config-ts": "^0.3.0",
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": "^2.8.8",
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": "c844c5590104d35d4bffedddec6f909684bacc4b"
51
+ "gitHead": "fa41b3d6a308d9405f56717beee2f030a91ddec3"
52
52
  }