@dfx.swiss/react 1.2.0-beta.50 → 1.2.0-beta.51

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.
@@ -1,6 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
+ import { AssetContextProviderProps } from './asset.context';
2
3
  import { SessionContextProviderProps } from './session.context';
3
- type DfxContextProviderProps = SessionContextProviderProps & PropsWithChildren;
4
+ type DfxContextProviderProps = SessionContextProviderProps & PropsWithChildren & AssetContextProviderProps;
4
5
  export declare function DfxContextProvider(props: DfxContextProviderProps): JSX.Element;
5
6
  export {};
6
7
  //# sourceMappingURL=dfx.context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dfx.context.d.ts","sourceRoot":"","sources":["../../src/contexts/dfx.context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAA0B,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAKxF,KAAK,uBAAuB,GAAG,2BAA2B,GAAG,iBAAiB,CAAC;AAE/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAgB9E"}
1
+ {"version":3,"file":"dfx.context.d.ts","sourceRoot":"","sources":["../../src/contexts/dfx.context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAwB,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAGlF,OAAO,EAA0B,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAKxF,KAAK,uBAAuB,GAAG,2BAA2B,GAAG,iBAAiB,GAAG,yBAAyB,CAAC;AAE3G,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAgB9E"}
@@ -18,6 +18,6 @@ import { UserContextProvider } from './user.context';
18
18
  import { FiatContextProvider } from './fiat.context';
19
19
  import { LanguageContextProvider } from './language.context';
20
20
  export function DfxContextProvider(props) {
21
- return (_jsx(AuthContextProvider, { children: _jsx(SessionContextProvider, __assign({ api: props.api, data: props.data }, { children: _jsx(UserContextProvider, { children: _jsx(FiatContextProvider, { children: _jsx(LanguageContextProvider, { children: _jsx(AssetContextProvider, { children: _jsx(BankAccountContextProvider, { children: props.children }) }) }) }) }) })) }));
21
+ return (_jsx(AuthContextProvider, { children: _jsx(SessionContextProvider, __assign({ api: props.api, data: props.data }, { children: _jsx(UserContextProvider, { children: _jsx(FiatContextProvider, { children: _jsx(LanguageContextProvider, { children: _jsx(AssetContextProvider, __assign({ includePrivateAssets: props.includePrivateAssets }, { children: _jsx(BankAccountContextProvider, { children: props.children }) })) }) }) }) })) }));
22
22
  }
23
23
  //# sourceMappingURL=dfx.context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dfx.context.js","sourceRoot":"","sources":["../../src/contexts/dfx.context.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAI7D,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,OAAO,CACL,KAAC,mBAAmB,cAClB,KAAC,sBAAsB,aAAC,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,gBACtD,KAAC,mBAAmB,cAClB,KAAC,mBAAmB,cAClB,KAAC,uBAAuB,cACtB,KAAC,oBAAoB,cACnB,KAAC,0BAA0B,cAAE,KAAK,CAAC,QAAQ,GAA8B,GACpD,GACC,GACN,GACF,IACC,GACL,CACvB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"dfx.context.js","sourceRoot":"","sources":["../../src/contexts/dfx.context.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,oBAAoB,EAA6B,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAI7D,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,OAAO,CACL,KAAC,mBAAmB,cAClB,KAAC,sBAAsB,aAAC,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,gBACtD,KAAC,mBAAmB,cAClB,KAAC,mBAAmB,cAClB,KAAC,uBAAuB,cACtB,KAAC,oBAAoB,aAAC,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,gBACpE,KAAC,0BAA0B,cAAE,KAAK,CAAC,QAAQ,GAA8B,IACpD,GACC,GACN,GACF,IACC,GACL,CACvB,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@dfx.swiss/react",
4
- "version": "1.2.0-beta.50",
4
+ "version": "1.2.0-beta.51",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -22,5 +22,5 @@
22
22
  "react": "^18.2.0",
23
23
  "typescript": "^4.9.3"
24
24
  },
25
- "gitHead": "a524347fcc122ffe861cac04d5b026573c89f684"
25
+ "gitHead": "b4e70a3e4d9aef14fedc4ae672578667ea199f7e"
26
26
  }