@tivio/sdk-react 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/README.md.bak +2 -0
- package/dist/index.js +1 -1
- package/dist/services/login.d.ts +1 -1
- package/dist/types/bundle.types.d.ts +1 -1
- package/doc/changelog.md +0 -0
- package/package.json +3 -2
package/dist/services/login.d.ts
CHANGED
@@ -5,5 +5,5 @@ import type { UserPayload } from '../types/bundle.types';
|
|
5
5
|
* Sign in - setUser('userID', { token: 'xxx' })
|
6
6
|
* Sign out - setUser(null)
|
7
7
|
*/
|
8
|
-
declare const setUser: (userId: string | null, payload
|
8
|
+
declare const setUser: (userId: string | null, payload?: UserPayload | undefined) => Promise<void>;
|
9
9
|
export { setUser };
|
@@ -331,7 +331,7 @@ declare type TivioBundle = {
|
|
331
331
|
}) => Promise<QerkoPaymentInfo>;
|
332
332
|
cancelSubscriptionWithQerko: (subscriptionId: string) => Promise<QerkoCancellationInfo>;
|
333
333
|
setLanguage: (language: Language) => void;
|
334
|
-
setUser: (userId: string | null, userPayload
|
334
|
+
setUser: (userId: string | null, userPayload?: UserPayload) => Promise<void>;
|
335
335
|
sources: TivioSources;
|
336
336
|
subscriptions: TivioSubscriptions;
|
337
337
|
internal: {
|
package/doc/changelog.md
ADDED
File without changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tivio/sdk-react",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.1",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"typings": "dist/index.d.ts",
|
6
6
|
"source": "src/index.ts",
|
@@ -15,6 +15,7 @@
|
|
15
15
|
"start": "yarn ts-node ./scripts/start.ts",
|
16
16
|
"test": "jest --config=./jest.config.js --coverage",
|
17
17
|
"clean": "rm -rf dist",
|
18
|
+
"prepublishOnly": "yarn && yarn run build && yarn ts-node ./scripts/prepublish.ts",
|
18
19
|
"postpublish": "yarn ts-node ./scripts/postpublish.ts",
|
19
20
|
"publish:alpha": "npm publish --tag alpha",
|
20
21
|
"check:cycles": "npx madge --circular src/**/*"
|
@@ -27,7 +28,7 @@
|
|
27
28
|
"@material-ui/core": "^4.11.2",
|
28
29
|
"@material-ui/icons": "^4.11.2",
|
29
30
|
"@sentry/browser": "^6.1.0",
|
30
|
-
"@tivio/common": "1.1.
|
31
|
+
"@tivio/common": "1.1.83",
|
31
32
|
"es7-object-polyfill": "^1.0.1",
|
32
33
|
"firebase": "^8.2.3",
|
33
34
|
"formik": "^2.2.7",
|