@quiltt/core 3.9.1 → 3.9.2
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 +10 -0
- package/README.md +12 -2
- package/dist/{SubscriptionLink-client-C6YiQ8Q3.js → SubscriptionLink-client-CvVnhUQS.js} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +12 -8
- package/src/api/graphql/client.ts +1 -1
- package/src/api/graphql/links/ActionCableLink.ts +1 -1
- package/src/api/graphql/links/AuthLink.ts +1 -1
- package/src/api/graphql/links/ErrorLink.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @quiltt/core
|
|
2
2
|
|
|
3
|
+
## 3.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#316](https://github.com/quiltt/quiltt-js/pull/316) [`de5d43e`](https://github.com/quiltt/quiltt-js/commit/de5d43e664a8bbb04595816718f5c645a9c3df27) Thanks [@rubendinho](https://github.com/rubendinho)! - Updated `main` param to `package.json` to improve analyzing the package.
|
|
8
|
+
|
|
9
|
+
- [#313](https://github.com/quiltt/quiltt-js/pull/313) [`3b789c9`](https://github.com/quiltt/quiltt-js/commit/3b789c9413ab2f9bdda965248ed7a8ccaf270172) Thanks [@zubairaziz](https://github.com/zubairaziz)! - Update typings for QuilttButton onLoad handler
|
|
10
|
+
|
|
11
|
+
- [#312](https://github.com/quiltt/quiltt-js/pull/312) [`11ba6a3`](https://github.com/quiltt/quiltt-js/commit/11ba6a3af1975349a63640bb99ed0e34ffee3f1c) Thanks [@zubairaziz](https://github.com/zubairaziz)! - Update session handling in QuilttAuthProvider
|
|
12
|
+
|
|
3
13
|
## 3.9.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,11 +7,21 @@
|
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
10
|
+
With `npm`:
|
|
11
|
+
|
|
10
12
|
```shell
|
|
11
13
|
$ npm install @quiltt/core
|
|
12
|
-
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
With `yarn`:
|
|
17
|
+
|
|
18
|
+
```shell
|
|
13
19
|
$ yarn add @quiltt/core
|
|
14
|
-
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
With `pnpm`:
|
|
23
|
+
|
|
24
|
+
```shell
|
|
15
25
|
$ pnpm add @quiltt/core
|
|
16
26
|
```
|
|
17
27
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ApolloLink, ApolloClient } from '@apollo/client/core/index.js';
|
|
2
|
-
export { gql } from '@apollo/client/core/index.js';
|
|
3
1
|
import * as _apollo_client_core from '@apollo/client/core';
|
|
4
2
|
import { Operation, NextLink, FetchResult, ApolloClientOptions } from '@apollo/client/core';
|
|
5
3
|
export { ApolloError, OperationVariables } from '@apollo/client/core';
|
|
4
|
+
import { ApolloLink, ApolloClient } from '@apollo/client/core/index.js';
|
|
5
|
+
export { gql } from '@apollo/client/core/index.js';
|
|
6
6
|
import { Observable as Observable$1 } from '@apollo/client/utilities';
|
|
7
7
|
import { BatchHttpLink as BatchHttpLink$1 } from '@apollo/client/link/batch-http/index.js';
|
|
8
8
|
import { HttpLink as HttpLink$1 } from '@apollo/client/link/http/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApolloLink, ApolloClient } from '@apollo/client/core/index.js';
|
|
2
2
|
export { gql } from '@apollo/client/core/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-CvVnhUQS.js';
|
|
4
|
+
export { L as LocalStorage, M as MemoryStorage, O as Observable, b as Storage, c as cdnBase, f as endpointWebsockets } from './SubscriptionLink-client-CvVnhUQS.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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiltt/core",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"description": "Javascript API client and utilities for Quiltt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"quiltt",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"directory": "packages/core"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
],
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/quiltt/quiltt-js/issues"
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": [],
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
@@ -30,12 +30,13 @@
|
|
|
30
30
|
"src/**",
|
|
31
31
|
"CHANGELOG.md"
|
|
32
32
|
],
|
|
33
|
+
"main": "dist/index.js",
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"@apollo/client": "^3.11.8",
|
|
35
|
-
"@rails/actioncable": "^7.2.
|
|
36
|
+
"@rails/actioncable": "^7.2.201",
|
|
36
37
|
"braces": "^3.0.3",
|
|
37
38
|
"cross-fetch": "^4.0.0",
|
|
38
|
-
"graphql": "^16.
|
|
39
|
+
"graphql": "^16.10.0",
|
|
39
40
|
"graphql-ruby-client": "^1.14.5"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
@@ -45,8 +46,11 @@
|
|
|
45
46
|
"@types/react": "18.3.12",
|
|
46
47
|
"bunchee": "5.6.1",
|
|
47
48
|
"rimraf": "6.0.1",
|
|
48
|
-
"typescript": "5.
|
|
49
|
+
"typescript": "5.7.2"
|
|
49
50
|
},
|
|
51
|
+
"tags": [
|
|
52
|
+
"quiltt"
|
|
53
|
+
],
|
|
50
54
|
"publishConfig": {
|
|
51
55
|
"access": "public"
|
|
52
56
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApolloClient, ApolloLink } from '@apollo/client/core/index.js'
|
|
2
1
|
import type { ApolloClientOptions, Operation } from '@apollo/client/core'
|
|
2
|
+
import { ApolloClient, ApolloLink } from '@apollo/client/core/index.js'
|
|
3
3
|
|
|
4
4
|
import { debugging } from '../../configuration'
|
|
5
5
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { FetchResult, NextLink, Operation } from '@apollo/client/core'
|
|
1
2
|
import { ApolloLink } from '@apollo/client/core/index.js'
|
|
2
3
|
import { Observable } from '@apollo/client/utilities/index.js'
|
|
3
|
-
import type { FetchResult, NextLink, Operation } from '@apollo/client/core'
|
|
4
4
|
|
|
5
5
|
import { createConsumer } from '@rails/actioncable'
|
|
6
6
|
import type { Consumer } from '@rails/actioncable'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApolloLink } from '@apollo/client/core/index.js'
|
|
2
1
|
import type { FetchResult, NextLink, Operation } from '@apollo/client/core'
|
|
2
|
+
import { ApolloLink } from '@apollo/client/core/index.js'
|
|
3
3
|
import type { Observable } from '@apollo/client/utilities'
|
|
4
4
|
|
|
5
5
|
import { GlobalStorage } from '@/storage'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GlobalStorage } from '@/storage'
|
|
2
|
-
|
|
3
|
-
import { onError } from '@apollo/client/link/error/index.js'
|
|
4
1
|
import type { ServerError } from '@apollo/client/core'
|
|
2
|
+
import { onError } from '@apollo/client/link/error/index.js'
|
|
3
|
+
|
|
4
|
+
import { GlobalStorage } from '@/storage'
|
|
5
5
|
|
|
6
6
|
export const ErrorLink = onError(({ graphQLErrors, networkError }) => {
|
|
7
7
|
if (graphQLErrors) {
|