@quiltt/react 3.7.4 → 3.8.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.
- package/CHANGELOG.md +14 -0
- package/dist/{QuilttAuthProvider-client-D-lSeXpV.js → QuilttAuthProvider-client-CU478Ahm.js} +4 -8
- package/dist/index.js +5 -5
- package/dist/{useQuilttClient-client-CGMZPnRI.js → useQuilttClient-client-Bwrsgaab.js} +1 -1
- package/dist/{useQuilttConnector-client-DO0CdRV1.js → useQuilttConnector-client-D_LGauFU.js} +2 -2
- package/dist/{useQuilttSession-client-TRaUyBXB.js → useQuilttSession-client-C0NMXZs8.js} +1 -1
- package/package.json +10 -12
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @quiltt/react
|
|
2
2
|
|
|
3
|
+
## 3.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#298](https://github.com/quiltt/quiltt-js/pull/298) [`134b294`](https://github.com/quiltt/quiltt-js/commit/134b294019c3bdbccc1f4b5cf9af38d43ea5b3ac) Thanks [@zubairaziz](https://github.com/zubairaziz)! - - Update dependencies
|
|
8
|
+
- Update expo-react-native implementation
|
|
9
|
+
- Reorganize test files
|
|
10
|
+
- Fix security vulnerabilities
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`134b294`](https://github.com/quiltt/quiltt-js/commit/134b294019c3bdbccc1f4b5cf9af38d43ea5b3ac)]:
|
|
15
|
+
- @quiltt/core@3.8.0
|
|
16
|
+
|
|
3
17
|
## 3.7.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/{QuilttAuthProvider-client-D-lSeXpV.js → QuilttAuthProvider-client-CU478Ahm.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { JsonWebTokenParse, QuilttClient, InMemoryCache as InMemoryCache$1 } fro
|
|
|
5
5
|
import './useQuilttSettings-client-DU_Qfc8X.js';
|
|
6
6
|
import './useSession-client-CG5lGS9F.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import { u as useQuilttSession } from './useQuilttSession-client-
|
|
8
|
+
import { u as useQuilttSession } from './useQuilttSession-client-C0NMXZs8.js';
|
|
9
9
|
|
|
10
10
|
function _mergeNamespaces(n, m) {
|
|
11
11
|
m.forEach(function (e) {
|
|
@@ -129,7 +129,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
129
129
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
130
130
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
131
131
|
PERFORMANCE OF THIS SOFTWARE.
|
|
132
|
-
***************************************************************************** */ /* global Reflect, Promise, SuppressedError, Symbol */ var extendStatics = function(d, b) {
|
|
132
|
+
***************************************************************************** */ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) {
|
|
133
133
|
extendStatics = Object.setPrototypeOf || ({
|
|
134
134
|
__proto__: []
|
|
135
135
|
}) instanceof Array && function(d, b) {
|
|
@@ -201,12 +201,8 @@ function __generator(thisArg, body) {
|
|
|
201
201
|
},
|
|
202
202
|
trys: [],
|
|
203
203
|
ops: []
|
|
204
|
-
}, f, y, t, g;
|
|
205
|
-
return g = {
|
|
206
|
-
next: verb(0),
|
|
207
|
-
"throw": verb(1),
|
|
208
|
-
"return": verb(2)
|
|
209
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
204
|
+
}, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
205
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
210
206
|
return this;
|
|
211
207
|
}), g;
|
|
212
208
|
function verb(n) {
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export * from '@quiltt/core';
|
|
2
2
|
export { u as useEventListener } from './useEventListener-client-DVM5xwKY.js';
|
|
3
3
|
export { u as useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect-client-DeTHOKz1.js';
|
|
4
|
-
import { Q as QuilttAuthProvider } from './QuilttAuthProvider-client-
|
|
5
|
-
export { G as GraphQLClient, c as useAuthenticateSession, b as useIdentifySession, a as useImportSession, d as useRevokeSession } from './QuilttAuthProvider-client-
|
|
6
|
-
export { u as useQuilttClient } from './useQuilttClient-client-
|
|
7
|
-
import { u as useQuilttConnector } from './useQuilttConnector-client-
|
|
8
|
-
export { u as useQuilttSession } from './useQuilttSession-client-
|
|
4
|
+
import { Q as QuilttAuthProvider } from './QuilttAuthProvider-client-CU478Ahm.js';
|
|
5
|
+
export { G as GraphQLClient, c as useAuthenticateSession, b as useIdentifySession, a as useImportSession, d as useRevokeSession } from './QuilttAuthProvider-client-CU478Ahm.js';
|
|
6
|
+
export { u as useQuilttClient } from './useQuilttClient-client-Bwrsgaab.js';
|
|
7
|
+
import { u as useQuilttConnector } from './useQuilttConnector-client-D_LGauFU.js';
|
|
8
|
+
export { u as useQuilttSession } from './useQuilttSession-client-C0NMXZs8.js';
|
|
9
9
|
export { Q as QuilttSettings, u as useQuilttSettings } from './useQuilttSettings-client-DU_Qfc8X.js';
|
|
10
10
|
export { u as useSession } from './useSession-client-CG5lGS9F.js';
|
|
11
11
|
export { u as useStorage } from './useStorage-client-B3keU-oI.js';
|
package/dist/{useQuilttConnector-client-DO0CdRV1.js → useQuilttConnector-client-D_LGauFU.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { cdnBase } from '@quiltt/core';
|
|
4
|
-
import { u as useQuilttSession } from './useQuilttSession-client-
|
|
4
|
+
import { u as useQuilttSession } from './useQuilttSession-client-C0NMXZs8.js';
|
|
5
5
|
import { u as useScript } from './useScript-client-Cx5nb9RW.js';
|
|
6
6
|
|
|
7
7
|
// Generated by genversion.
|
|
8
|
-
const version = '3.
|
|
8
|
+
const version = '3.8.0';
|
|
9
9
|
|
|
10
10
|
const useQuilttConnector = (connectorId, options)=>{
|
|
11
11
|
const status = useScript(`${cdnBase}/v1/connector.js?agent=react-${version}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import { AuthAPI } from '@quiltt/core';
|
|
4
|
-
import { a as useImportSession, b as useIdentifySession, c as useAuthenticateSession, d as useRevokeSession } from './QuilttAuthProvider-client-
|
|
4
|
+
import { a as useImportSession, b as useIdentifySession, c as useAuthenticateSession, d as useRevokeSession } from './QuilttAuthProvider-client-CU478Ahm.js';
|
|
5
5
|
import { u as useQuilttSettings } from './useQuilttSettings-client-DU_Qfc8X.js';
|
|
6
6
|
import { u as useSession } from './useSession-client-CG5lGS9F.js';
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiltt/react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "React components and hooks for Quiltt Connector",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"quiltt",
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
"types": "./dist/index.d.ts"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"main": "./dist/index.js",
|
|
32
|
-
"module": "./dist/index.js",
|
|
33
31
|
"types": "./dist/index.d.ts",
|
|
34
32
|
"files": [
|
|
35
33
|
"dist/**",
|
|
@@ -37,23 +35,23 @@
|
|
|
37
35
|
"CHANGELOG.md"
|
|
38
36
|
],
|
|
39
37
|
"dependencies": {
|
|
40
|
-
"@quiltt/core": "3.
|
|
38
|
+
"@quiltt/core": "3.8.0"
|
|
41
39
|
},
|
|
42
40
|
"devDependencies": {
|
|
43
41
|
"@apollo/client": "3.9.11",
|
|
44
|
-
"@biomejs/biome": "1.
|
|
45
|
-
"@types/node": "22.
|
|
46
|
-
"@types/react": "18.3.
|
|
47
|
-
"@types/react-dom": "18.3.
|
|
42
|
+
"@biomejs/biome": "1.9.4",
|
|
43
|
+
"@types/node": "22.9.0",
|
|
44
|
+
"@types/react": "18.3.12",
|
|
45
|
+
"@types/react-dom": "18.3.1",
|
|
48
46
|
"bunchee": "5.3.2",
|
|
49
47
|
"react": "18.3.1",
|
|
50
48
|
"react-dom": "18.3.1",
|
|
51
49
|
"rimraf": "6.0.1",
|
|
52
|
-
"typescript": "5.
|
|
50
|
+
"typescript": "5.6.3"
|
|
53
51
|
},
|
|
54
52
|
"peerDependencies": {
|
|
55
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
56
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
53
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
54
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
57
55
|
},
|
|
58
56
|
"publishConfig": {
|
|
59
57
|
"access": "public"
|
|
@@ -63,7 +61,7 @@
|
|
|
63
61
|
"build": "pnpm run addVersion && bunchee",
|
|
64
62
|
"clean": "rimraf .turbo dist",
|
|
65
63
|
"dev": "bunchee --watch",
|
|
66
|
-
"lint": "TIMING=1 biome check src/ --fix",
|
|
64
|
+
"lint": "TIMING=1 biome check src/ tests/ --fix",
|
|
67
65
|
"typecheck": "tsc --project tsconfig.json --noEmit"
|
|
68
66
|
}
|
|
69
67
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '3.
|
|
2
|
+
export const version = '3.8.0'
|