@rango-dev/widget-embedded 0.30.1-next.13 → 0.30.1-next.15
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/dist/containers/WidgetInfo/WidgetInfo.d.ts.map +1 -1
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts +4 -1
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts.map +1 -1
- package/dist/hooks/useUpdateQuoteInput/index.d.ts +2 -0
- package/dist/hooks/useUpdateQuoteInput/index.d.ts.map +1 -0
- package/dist/hooks/useUpdateQuoteInput/useUpdateQuoteInput.d.ts +3 -0
- package/dist/hooks/useUpdateQuoteInput/useUpdateQuoteInput.d.ts.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/types/quote.d.ts +8 -1
- package/dist/types/quote.d.ts.map +1 -1
- package/dist/widget-embedded.build.json +1 -1
- package/package.json +3 -3
- package/src/containers/WidgetInfo/WidgetInfo.tsx +5 -0
- package/src/containers/WidgetInfo/WidgetInfo.types.ts +4 -1
- package/src/hooks/useUpdateQuoteInput/index.ts +1 -0
- package/src/hooks/useUpdateQuoteInput/useUpdateQuoteInput.ts +50 -0
- package/src/store/quote.ts +1 -1
- package/src/types/quote.ts +9 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;AAazD,eAAO,MAAM,iBAAiB,uDAElB,CAAC;AAEb,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,qBAqDxD;AAED,wBAAgB,SAAS,IAAI,0BAA0B,CAQtD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WidgetHistory } from './WidgetInfo.helpers';
|
|
2
2
|
import type { FetchStatus, FindToken } from '../../store/slices/data';
|
|
3
3
|
import type { ConnectedWallet } from '../../store/wallets';
|
|
4
|
-
import type { Wallet } from '../../types';
|
|
4
|
+
import type { UpdateQuoteInput, Wallet } from '../../types';
|
|
5
5
|
import type { Notification } from '../../types/notification';
|
|
6
6
|
import type { BlockchainMeta, SwapperMeta, Token } from 'rango-sdk';
|
|
7
7
|
export interface WidgetInfoContextInterface {
|
|
@@ -26,5 +26,8 @@ export interface WidgetInfoContextInterface {
|
|
|
26
26
|
list: Notification[];
|
|
27
27
|
clearAll: () => void;
|
|
28
28
|
};
|
|
29
|
+
quote: {
|
|
30
|
+
updateQuoteInput: UpdateQuoteInput;
|
|
31
|
+
};
|
|
29
32
|
}
|
|
30
33
|
//# sourceMappingURL=WidgetInfo.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE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AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateQuoteInput.d.ts","sourceRoot":"","sources":["../../../src/hooks/useUpdateQuoteInput/useUpdateQuoteInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAMpD,wBAAgB,mBAAmB,qBA2ClC"}
|