@hellocoop/react 1.1.0 → 1.2.0

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 +1 @@
1
- {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../src/logout.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,cAAc,WAAW,OAAO,MAAM,EAAE,GAAG,CAAC,WAAuB,CAAA;AAEhF,wBAAgB,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAEhD"}
1
+ {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../src/logout.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,cAAc,WAAW,OAAO,MAAM,EAAE,GAAG,CAAC,WAA4B,CAAA;AAErF,wBAAgB,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAEhD"}
package/dist/logout.js CHANGED
@@ -12,7 +12,7 @@ const makeLogoutRoute = (params) => {
12
12
  return logoutRoute.pathname + logoutRoute.search;
13
13
  };
14
14
  const loginRoute = new URL(provider_1.routeConfig.login, "https://example.com"); // hack so we can use URL()
15
- const getLogOutRoute = (params) => provider_1.routeConfig.logout;
15
+ const getLogOutRoute = (params) => makeLogoutRoute(params);
16
16
  exports.getLogOutRoute = getLogOutRoute;
17
17
  function logOut(params) {
18
18
  if (typeof window !== 'undefined')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellocoop/react",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "React SDK for Hellō https://hello.dev",
5
5
  "repository": {
6
6
  "type": "git",