@rabby-wallet/rabby-api 0.7.21 → 0.7.22

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -250,6 +250,19 @@ export declare class OpenApiService {
250
250
  }) => Promise<{
251
251
  is_gasless: boolean;
252
252
  desc?: string;
253
+ promotion?: {
254
+ id: string;
255
+ contract_id: string;
256
+ chain_id: string;
257
+ config: {
258
+ button_text: string;
259
+ before_click_text: string;
260
+ after_click_text: string;
261
+ logo: string;
262
+ theme_color: string;
263
+ dark_color: string;
264
+ };
265
+ };
253
266
  }>;
254
267
  parseTx: ({ chainId, tx, origin, addr, }: {
255
268
  chainId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.7.21",
3
+ "version": "0.7.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [