@quiltt/core 3.7.4 → 3.8.1
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
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @quiltt/core
|
|
2
2
|
|
|
3
|
+
## 3.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#300](https://github.com/quiltt/quiltt-js/pull/300) [`a359810`](https://github.com/quiltt/quiltt-js/commit/a3598104565b4428beef9de37f85211e9caf465b)
|
|
8
|
+
- Thanks [@zubairaziz](https://github.com/zubairaziz)! - Make @quiltt/react-native ESM only
|
|
9
|
+
|
|
10
|
+
## 3.8.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#298](https://github.com/quiltt/quiltt-js/pull/298) [`134b294`](https://github.com/quiltt/quiltt-js/commit/134b294019c3bdbccc1f4b5cf9af38d43ea5b3ac) Thanks [@zubairaziz](https://github.com/zubairaziz)! -
|
|
15
|
+
- Update dependencies
|
|
16
|
+
- Update expo-react-native implementation
|
|
17
|
+
- Reorganize test files
|
|
18
|
+
- Fix security vulnerabilities
|
|
19
|
+
|
|
3
20
|
## 3.7.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { ApolloLink, ApolloClient } from '@apollo/client/index.js';
|
|
2
2
|
export { InMemoryCache, gql, useMutation, useQuery, useSubscription } from '@apollo/client/index.js';
|
|
3
|
-
import { G as GlobalStorage, e as endpointGraphQL, v as version, d as debugging, S as SubscriptionLink, a as endpointAuth } from './SubscriptionLink-client-
|
|
4
|
-
export { L as LocalStorage, M as MemoryStorage, O as Observable, b as Storage, c as cdnBase, f as endpointWebsockets } from './SubscriptionLink-client-
|
|
3
|
+
import { G as GlobalStorage, e as endpointGraphQL, v as version, d as debugging, S as SubscriptionLink, a as endpointAuth } from './SubscriptionLink-client-DpChu6_6.js';
|
|
4
|
+
export { L as LocalStorage, M as MemoryStorage, O as Observable, b as Storage, c as cdnBase, f as endpointWebsockets } from './SubscriptionLink-client-DpChu6_6.js';
|
|
5
5
|
import { BatchHttpLink as BatchHttpLink$1 } from '@apollo/client/link/batch-http/index.js';
|
|
6
6
|
import crossfetch from 'cross-fetch';
|
|
7
7
|
import { onError } from '@apollo/client/link/error/index.js';
|
|
8
8
|
import { HttpLink as HttpLink$1 } from '@apollo/client/link/http/index.js';
|
|
9
9
|
import { RetryLink as RetryLink$1 } from '@apollo/client/link/retry/index.js';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Enum representing the different types of events emitted by the Connector.
|
|
13
|
+
*/ var ConnectorSDKEventType = /*#__PURE__*/ function(ConnectorSDKEventType) {
|
|
13
14
|
/** The Connector modal has been opened */ ConnectorSDKEventType["Open"] = "opened";
|
|
14
15
|
/** The Connector has loaded successfully */ ConnectorSDKEventType["Load"] = "loaded";
|
|
15
16
|
/** The end-user successfully completed the flow */ ConnectorSDKEventType["ExitSuccess"] = "exited.successful";
|
|
16
17
|
/** The end-user exited the Connector before completing the flow */ ConnectorSDKEventType["ExitAbort"] = "exited.aborted";
|
|
17
18
|
/** The end-user experienced an error during the flow */ ConnectorSDKEventType["ExitError"] = "exited.errored";
|
|
18
|
-
|
|
19
|
+
return ConnectorSDKEventType;
|
|
20
|
+
}({});
|
|
19
21
|
|
|
20
22
|
/**
|
|
21
23
|
* unauthorizedCallback only triggers in the event the token is present, and
|
|
@@ -160,11 +162,11 @@ const RETRIES = 10 // 150, 300, 450, 600, 750, 900, 1050, 1200, 1350, 1500 = 8.2
|
|
|
160
162
|
}
|
|
161
163
|
};
|
|
162
164
|
|
|
163
|
-
var AuthStrategies
|
|
164
|
-
(function(AuthStrategies) {
|
|
165
|
+
var AuthStrategies = /*#__PURE__*/ function(AuthStrategies) {
|
|
165
166
|
AuthStrategies["Email"] = "email";
|
|
166
167
|
AuthStrategies["Phone"] = "phone";
|
|
167
|
-
|
|
168
|
+
return AuthStrategies;
|
|
169
|
+
}({});
|
|
168
170
|
// https://www.quiltt.dev/api-reference/auth
|
|
169
171
|
class AuthAPI {
|
|
170
172
|
constructor(clientId){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiltt/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "Javascript API client and utilities for Quiltt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"quiltt",
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
"main": "./dist/index.js",
|
|
28
|
-
"module": "./dist/index.js",
|
|
29
27
|
"types": "./dist/index.d.ts",
|
|
30
28
|
"files": [
|
|
31
29
|
"dist/**",
|
|
@@ -34,20 +32,20 @@
|
|
|
34
32
|
],
|
|
35
33
|
"dependencies": {
|
|
36
34
|
"@apollo/client": "^3.9.11",
|
|
37
|
-
"@rails/actioncable": "^7.2.
|
|
35
|
+
"@rails/actioncable": "^7.2.200",
|
|
36
|
+
"braces": "^3.0.3",
|
|
38
37
|
"cross-fetch": "^4.0.0",
|
|
39
38
|
"graphql": "^16.9.0",
|
|
40
|
-
"graphql-ruby-client": "^1.14.
|
|
41
|
-
"braces": "^3.0.3"
|
|
39
|
+
"graphql-ruby-client": "^1.14.5"
|
|
42
40
|
},
|
|
43
41
|
"devDependencies": {
|
|
44
|
-
"@biomejs/biome": "1.
|
|
45
|
-
"@types/node": "22.
|
|
42
|
+
"@biomejs/biome": "1.9.4",
|
|
43
|
+
"@types/node": "22.9.0",
|
|
46
44
|
"@types/rails__actioncable": "6.1.11",
|
|
47
|
-
"@types/react": "18.3.
|
|
48
|
-
"bunchee": "5.
|
|
45
|
+
"@types/react": "18.3.12",
|
|
46
|
+
"bunchee": "5.6.1",
|
|
49
47
|
"rimraf": "6.0.1",
|
|
50
|
-
"typescript": "5.
|
|
48
|
+
"typescript": "5.6.3"
|
|
51
49
|
},
|
|
52
50
|
"publishConfig": {
|
|
53
51
|
"access": "public"
|
|
@@ -56,7 +54,7 @@
|
|
|
56
54
|
"build": "bunchee",
|
|
57
55
|
"clean": "rimraf .turbo dist",
|
|
58
56
|
"dev": "bunchee --watch",
|
|
59
|
-
"lint": "TIMING=1 biome check src/ --fix",
|
|
57
|
+
"lint": "TIMING=1 biome check src/ tests/ --fix",
|
|
60
58
|
"typecheck": "tsc --project tsconfig.json --noEmit"
|
|
61
59
|
}
|
|
62
60
|
}
|