@trycourier/react-provider 2.0.1 → 2.0.2-internal.9773702.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/dist/transports/types.js +0 -1
- package/dist/types.js +13 -1
- package/dist/ws.js +10 -8
- package/package.json +3 -3
- package/typings/index.d.ts +3 -3
- package/typings/index.d.ts.map +1 -1
- package/typings/transports/courier/index.d.ts +2 -2
- package/typings/transports/courier/index.d.ts.map +1 -1
- package/typings/transports/types.d.ts +20 -44
- package/typings/transports/types.d.ts.map +1 -1
- package/typings/types.d.ts +2 -22
- package/typings/types.d.ts.map +1 -1
- package/typings/ws.d.ts.map +1 -1
package/dist/transports/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/types.js
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "IInboxMessagePreview", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _clientGraphql.IInboxMessagePreview;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _clientGraphql = require("@trycourier/client-graphql");
|
package/dist/ws.js
CHANGED
|
@@ -23,6 +23,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
23
23
|
|
|
24
24
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
25
25
|
|
|
26
|
+
var SUBSCRIPTION_VERSION = 4;
|
|
27
|
+
|
|
26
28
|
var WS = /*#__PURE__*/function () {
|
|
27
29
|
function WS(_ref) {
|
|
28
30
|
var authorization = _ref.authorization,
|
|
@@ -130,7 +132,7 @@ var WS = /*#__PURE__*/function () {
|
|
|
130
132
|
clientKey: this.clientKey,
|
|
131
133
|
event: sub.event,
|
|
132
134
|
userSignature: this.userSignature,
|
|
133
|
-
version:
|
|
135
|
+
version: SUBSCRIPTION_VERSION
|
|
134
136
|
}
|
|
135
137
|
});
|
|
136
138
|
}
|
|
@@ -201,11 +203,11 @@ var WS = /*#__PURE__*/function () {
|
|
|
201
203
|
action: "subscribe",
|
|
202
204
|
data: {
|
|
203
205
|
channel: channel,
|
|
204
|
-
clientSourceId: this.clientSourceId,
|
|
205
206
|
clientKey: this.clientKey,
|
|
207
|
+
clientSourceId: this.clientSourceId,
|
|
206
208
|
event: event,
|
|
207
209
|
userSignature: this.userSignature,
|
|
208
|
-
version:
|
|
210
|
+
version: SUBSCRIPTION_VERSION
|
|
209
211
|
}
|
|
210
212
|
});
|
|
211
213
|
}
|
|
@@ -243,11 +245,11 @@ var WS = /*#__PURE__*/function () {
|
|
|
243
245
|
this.send({
|
|
244
246
|
action: "unsubscribe",
|
|
245
247
|
data: {
|
|
246
|
-
version: "3",
|
|
247
248
|
channel: channel,
|
|
248
|
-
event: event,
|
|
249
249
|
clientKey: this.clientKey,
|
|
250
|
-
|
|
250
|
+
event: event,
|
|
251
|
+
userSignature: this.userSignature,
|
|
252
|
+
version: SUBSCRIPTION_VERSION
|
|
251
253
|
}
|
|
252
254
|
});
|
|
253
255
|
}
|
|
@@ -264,8 +266,8 @@ var WS = /*#__PURE__*/function () {
|
|
|
264
266
|
this.send({
|
|
265
267
|
action: "renewSession",
|
|
266
268
|
data: {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
+
auth: newAuthorization,
|
|
270
|
+
version: SUBSCRIPTION_VERSION
|
|
269
271
|
}
|
|
270
272
|
});
|
|
271
273
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycourier/react-provider",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2-internal.9773702.0+9773702",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "typings/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@trycourier/client-graphql": "^2.0.
|
|
19
|
+
"@trycourier/client-graphql": "^2.0.2-internal.9773702.0+9773702",
|
|
20
20
|
"buffer": "^6.0.3",
|
|
21
21
|
"jwt-decode": "^3.1.2",
|
|
22
22
|
"react-use": "^17.2.1",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dist/",
|
|
34
34
|
"typings/"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "97737026b3763f1e3686b12e74cb9c32795a07d6"
|
|
37
37
|
}
|
package/typings/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Brand, ICourierContext, ICourierProviderProps,
|
|
3
|
-
import {
|
|
2
|
+
import { Brand, ICourierContext, ICourierProviderProps, WSOptions } from "./types";
|
|
3
|
+
import { IActionElemental, ICourierEventMessage, IInboxMessagePreview, ITextElemental } from "./transports/types";
|
|
4
4
|
import { Middleware } from "./middleware";
|
|
5
5
|
export * from "./transports";
|
|
6
6
|
export * from "./hooks";
|
|
7
7
|
export declare const registerReducer: (scope: any, reducer: any) => void;
|
|
8
8
|
export declare const registerMiddleware: (id: string, middleware: Middleware) => void;
|
|
9
|
-
export type { Brand,
|
|
9
|
+
export type { Brand, IActionElemental, ICourierContext, ICourierEventMessage, IInboxMessagePreview, ITextElemental, Middleware, WSOptions, };
|
|
10
10
|
export declare const CourierContext: React.Context<ICourierContext | undefined>;
|
|
11
11
|
export declare const CourierProvider: React.FunctionComponent<ICourierProviderProps>;
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/typings/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EACL,KAAK,EACL,eAAe,EACf,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EACL,KAAK,EACL,eAAe,EACf,qBAAqB,EACrB,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B,OAA0B,EAExB,UAAU,EACX,MAAM,cAAc,CAAC;AAMtB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,eAAe,oCAAmB,CAAC;AAChD,eAAO,MAAM,kBAAkB,8CAAsB,CAAC;AAEtD,YAAY,EACV,KAAK,EACL,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,SAAS,GACV,CAAC;AAEF,eAAO,MAAM,cAAc,4CACkC,CAAC;AAE9D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CA4LxE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WS } from "../../ws";
|
|
2
2
|
import { Transport } from "../base";
|
|
3
|
-
import { Interceptor
|
|
3
|
+
import { Interceptor } from "../types";
|
|
4
4
|
import { ITransportOptions } from "./types";
|
|
5
5
|
export declare class CourierTransport extends Transport {
|
|
6
6
|
protected authorization?: string;
|
|
@@ -13,7 +13,7 @@ export declare class CourierTransport extends Transport {
|
|
|
13
13
|
closeConnection(): void;
|
|
14
14
|
connect(): void;
|
|
15
15
|
keepAlive(): void;
|
|
16
|
-
send(message:
|
|
16
|
+
send(message: any): void;
|
|
17
17
|
subscribe(channel: string, event?: string): void;
|
|
18
18
|
unsubscribe(channel: string, event?: string): void;
|
|
19
19
|
onReconnection(handler: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transports/courier/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transports/courier/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACjC,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC;IACjC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAkB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC5C,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC;gBAEL,OAAO,EAAE,iBAAiB;IA8BtC,eAAe,IAAI,IAAI;IAIvB,OAAO,IAAI,IAAI;IAIf,SAAS,IAAI,IAAI;IAMjB,IAAI,CAAC,OAAO,KAAA,GAAG,IAAI;IAUnB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAchD,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAIlD,cAAc,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,IAAI;IAInE,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAGlC"}
|
|
@@ -1,67 +1,43 @@
|
|
|
1
|
-
import { Brand } from "../types";
|
|
2
|
-
export interface ITextBlock {
|
|
3
|
-
type: "text";
|
|
4
|
-
text: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IActionBlock {
|
|
7
|
-
type: "action";
|
|
8
|
-
text: string;
|
|
9
|
-
url: string;
|
|
10
|
-
openInNewTab?: boolean;
|
|
11
|
-
}
|
|
12
1
|
export interface ICourierEventMessage {
|
|
13
2
|
event: "read" | "unread" | "archive" | "mark-all-read" | "opened";
|
|
14
3
|
type: "event";
|
|
15
4
|
messageId?: string;
|
|
16
5
|
error?: string;
|
|
17
6
|
}
|
|
18
|
-
interface
|
|
7
|
+
export interface ITextElemental {
|
|
19
8
|
type: "text";
|
|
20
9
|
content: string;
|
|
21
|
-
href: string;
|
|
22
10
|
}
|
|
23
|
-
export interface
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
body?: string;
|
|
28
|
-
data?: {
|
|
29
|
-
channel?: string;
|
|
30
|
-
brandId?: string;
|
|
31
|
-
trackingIds?: {
|
|
32
|
-
archiveTrackingId: string;
|
|
33
|
-
channelTrackingId: string;
|
|
34
|
-
clickTrackingId: string;
|
|
35
|
-
deliverTrackingId: string;
|
|
36
|
-
openTrackingId: string;
|
|
37
|
-
readTrackingId: string;
|
|
38
|
-
unreadTrackingId: string;
|
|
39
|
-
};
|
|
40
|
-
trackingUrl?: string;
|
|
41
|
-
clickAction?: string;
|
|
42
|
-
};
|
|
43
|
-
error?: string;
|
|
44
|
-
event?: string;
|
|
45
|
-
icon?: string;
|
|
46
|
-
messageId?: string;
|
|
47
|
-
title?: string;
|
|
48
|
-
type?: "message";
|
|
49
|
-
brand?: Brand;
|
|
11
|
+
export interface IActionElemental {
|
|
12
|
+
type: "action";
|
|
13
|
+
content: string;
|
|
14
|
+
href: string;
|
|
50
15
|
}
|
|
51
16
|
export interface IInboxMessagePreview {
|
|
52
17
|
type: "message";
|
|
53
|
-
created
|
|
18
|
+
created: string;
|
|
54
19
|
messageId: string;
|
|
20
|
+
actions?: Array<IActionElemental>;
|
|
55
21
|
preview?: string;
|
|
22
|
+
icon?: string;
|
|
23
|
+
opened?: string;
|
|
24
|
+
data?: Record<string, any>;
|
|
56
25
|
/** ISO 8601 date the message was read */
|
|
57
26
|
read?: string;
|
|
58
27
|
title?: string;
|
|
28
|
+
trackingIds?: {
|
|
29
|
+
openTrackingId?: string;
|
|
30
|
+
archiveTrackingId?: string;
|
|
31
|
+
clickTrackingId?: string;
|
|
32
|
+
deliverTrackingId?: string;
|
|
33
|
+
readTrackingId?: string;
|
|
34
|
+
unreadTrackingId?: string;
|
|
35
|
+
};
|
|
59
36
|
}
|
|
60
37
|
export interface ICourierEvent {
|
|
61
38
|
type?: "message" | "event";
|
|
62
|
-
data?:
|
|
39
|
+
data?: IInboxMessagePreview | ICourierEventMessage;
|
|
63
40
|
}
|
|
64
41
|
export declare type ICourierEventCallback = (event: ICourierEvent) => void;
|
|
65
|
-
export declare type Interceptor = (message?:
|
|
66
|
-
export {};
|
|
42
|
+
export declare type Interceptor = (message?: ICourierEventMessage | IInboxMessagePreview) => IInboxMessagePreview | ICourierEventMessage | undefined;
|
|
67
43
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/transports/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/transports/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,eAAe,G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AC;AAEnE,oBAAY,WAAW,GAAG,CACxB,OAAO,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,KAClD,oBAAoB,GAAG,oBAAoB,GAAG,SAAS,CAAC"}
|
package/typings/types.d.ts
CHANGED
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
import { CourierTransport, Transport } from "./transports";
|
|
2
|
-
import {
|
|
2
|
+
import { Interceptor } from "./transports/types";
|
|
3
3
|
import { ErrorEvent } from "reconnecting-websocket";
|
|
4
|
+
export { IInboxMessagePreview } from "@trycourier/client-graphql";
|
|
4
5
|
export declare type ErrorEventHandler = (event: ErrorEvent) => void;
|
|
5
|
-
export interface IMessage {
|
|
6
|
-
blocks?: Array<IActionBlock | ITextBlock>;
|
|
7
|
-
body?: string;
|
|
8
|
-
created: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
messageId: string;
|
|
11
|
-
opened?: string;
|
|
12
|
-
read?: boolean;
|
|
13
|
-
title?: string;
|
|
14
|
-
data?: {
|
|
15
|
-
clickAction?: string;
|
|
16
|
-
};
|
|
17
|
-
trackingIds?: {
|
|
18
|
-
archiveTrackingId: string;
|
|
19
|
-
clickTrackingId: string;
|
|
20
|
-
deliverTrackingId: string;
|
|
21
|
-
openTrackingId: string;
|
|
22
|
-
readTrackingId: string;
|
|
23
|
-
unreadTrackingId: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
6
|
export declare type WSOptions = {
|
|
27
7
|
url?: string;
|
|
28
8
|
onError?: ErrorEventHandler;
|
package/typings/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EA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,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AACD,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;IAC5D,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,GAAG,CAAC;QAAC,IAAI,CAAC,EAAE,GAAG,CAAA;KAAE,KAAK,IAAI,CAAC;IACxE,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
package/typings/ws.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../src/ws.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EAGtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,qBAAqC,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAqB,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../src/ws.ts"],"names":[],"mappings":"AAAA,OAAO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