@shopify/shopify-app-session-storage-mongodb 1.0.0-rc.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/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022-present, Shopify Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # Session Storage Adapter for MongoDB
2
+
3
+ This package implements the `SessionStorage` interface that works with an instance of MongoDB.
4
+
5
+ ```js
6
+ import {shopifyApp} from '@shopify/shopify-app-express';
7
+ import {MongoDBSessionStorage} from '@shopify/shopify-app-session-storage-mongodb';
8
+
9
+ const shopify = shopifyApp({
10
+ sessionStorage: new MongoDBSessionStorage("mongodb://username:password@host/", "database"),
11
+ ...
12
+ });
13
+
14
+ // OR
15
+
16
+ const shopify = shopifyApp({
17
+ sessionStorage: MongoDBSessionStorage.withCredentials(
18
+ "host.com",
19
+ "thedatabase",
20
+ "username",
21
+ "password",
22
+ ),
23
+ ...
24
+ });
25
+ ```
26
+
27
+ If you prefer to use your own implementation of a session storage mechanism that is compatible with the `@shopify/shopify-app-express` package, see the [implementing session storage guide](../shopify-app-session-storage/implementing-session-storage.md).
@@ -0,0 +1,116 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var mongodb = require('mongodb');
6
+ var shopifyApi = require('@shopify/shopify-api');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var mongodb__namespace = /*#__PURE__*/_interopNamespace(mongodb);
27
+
28
+ const defaultMongoDBSessionStorageOptions = {
29
+ sessionCollectionName: 'shopify_sessions'
30
+ };
31
+ class MongoDBSessionStorage {
32
+ static withCredentials(host, dbName, username, password, opts) {
33
+ return new MongoDBSessionStorage(new URL(`mongodb://${encodeURIComponent(username)}:${encodeURIComponent(password)}@${host}/`), dbName, opts);
34
+ }
35
+ constructor(dbUrl, dbName, opts = {}) {
36
+ this.dbUrl = dbUrl;
37
+ this.dbName = dbName;
38
+ this.ready = void 0;
39
+ this.options = void 0;
40
+ this.client = void 0;
41
+ if (typeof this.dbUrl === 'string') {
42
+ this.dbUrl = new URL(this.dbUrl);
43
+ }
44
+ this.options = {
45
+ ...defaultMongoDBSessionStorageOptions,
46
+ ...opts
47
+ };
48
+ this.ready = this.init();
49
+ }
50
+ async storeSession(session) {
51
+ await this.ready;
52
+ await this.collection.findOneAndReplace({
53
+ id: session.id
54
+ }, session.toObject(), {
55
+ upsert: true
56
+ });
57
+ return true;
58
+ }
59
+ async loadSession(id) {
60
+ await this.ready;
61
+ const result = await this.collection.findOne({
62
+ id
63
+ });
64
+ return result ? new shopifyApi.Session(result) : undefined;
65
+ }
66
+ async deleteSession(id) {
67
+ await this.ready;
68
+ await this.collection.deleteOne({
69
+ id
70
+ });
71
+ return true;
72
+ }
73
+ async deleteSessions(ids) {
74
+ await this.ready;
75
+ await this.collection.deleteMany({
76
+ id: {
77
+ $in: ids
78
+ }
79
+ });
80
+ return true;
81
+ }
82
+ async findSessionsByShop(shop) {
83
+ await this.ready;
84
+ const rawResults = await this.collection.find({
85
+ shop
86
+ }).toArray();
87
+ if (!rawResults || (rawResults === null || rawResults === void 0 ? void 0 : rawResults.length) === 0) return [];
88
+ return rawResults.map(rawResult => new shopifyApi.Session(rawResult));
89
+ }
90
+ async disconnect() {
91
+ await this.client.close();
92
+ }
93
+ get collection() {
94
+ return this.client.db(this.dbName).collection(this.options.sessionCollectionName);
95
+ }
96
+ async init() {
97
+ this.client = new mongodb__namespace.MongoClient(this.dbUrl.toString());
98
+ await this.client.connect();
99
+ await this.client.db().command({
100
+ ping: 1
101
+ });
102
+ await this.createCollection();
103
+ }
104
+ async hasSessionCollection() {
105
+ const collections = await this.client.db().collections();
106
+ return collections.map(collection => collection.collectionName).includes(this.options.sessionCollectionName);
107
+ }
108
+ async createCollection() {
109
+ const hasSessionCollection = await this.hasSessionCollection();
110
+ if (!hasSessionCollection) {
111
+ await this.client.db().collection(this.options.sessionCollectionName);
112
+ }
113
+ }
114
+ }
115
+
116
+ exports.MongoDBSessionStorage = MongoDBSessionStorage;
@@ -0,0 +1,25 @@
1
+ import { Session } from '@shopify/shopify-api';
2
+ import { SessionStorage } from '@shopify/shopify-app-session-storage';
3
+ export interface MongoDBSessionStorageOptions {
4
+ sessionCollectionName: string;
5
+ }
6
+ export declare class MongoDBSessionStorage implements SessionStorage {
7
+ private dbUrl;
8
+ private dbName;
9
+ static withCredentials(host: string, dbName: string, username: string, password: string, opts: Partial<MongoDBSessionStorageOptions>): MongoDBSessionStorage;
10
+ readonly ready: Promise<void>;
11
+ private options;
12
+ private client;
13
+ constructor(dbUrl: URL, dbName: string, opts?: Partial<MongoDBSessionStorageOptions>);
14
+ storeSession(session: Session): Promise<boolean>;
15
+ loadSession(id: string): Promise<Session | undefined>;
16
+ deleteSession(id: string): Promise<boolean>;
17
+ deleteSessions(ids: string[]): Promise<boolean>;
18
+ findSessionsByShop(shop: string): Promise<Session[]>;
19
+ disconnect(): Promise<void>;
20
+ private get collection();
21
+ private init;
22
+ private hasSessionCollection;
23
+ private createCollection;
24
+ }
25
+ //# sourceMappingURL=mongodb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mongodb.d.ts","sourceRoot":"","sources":["../../src/mongodb.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,sCAAsC,CAAC;AAEpE,MAAM,WAAW,4BAA4B;IAC3C,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAKD,qBAAa,qBAAsB,YAAW,cAAc;IAyBxD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,MAAM;IAzBhB,MAAM,CAAC,eAAe,CACpB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,CAAC,4BAA4B,CAAC;IAa7C,SAAgB,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,OAAO,CAAC,OAAO,CAA+B;IAE9C,OAAO,CAAC,MAAM,CAAM;gBAGV,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,MAAM,EACtB,IAAI,GAAE,OAAO,CAAC,4BAA4B,CAAM;IASrC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAahD,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAQrD,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAM3C,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAM/C,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IASpD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIxC,OAAO,KAAK,UAAU,GAIrB;YAEa,IAAI;YAOJ,oBAAoB;YAOpB,gBAAgB;CAM/B"}
@@ -0,0 +1,182 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MongoDBSessionStorage = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var mongodb = tslib_1.__importStar(require("mongodb"));
6
+ var shopify_api_1 = require("@shopify/shopify-api");
7
+ var defaultMongoDBSessionStorageOptions = {
8
+ sessionCollectionName: 'shopify_sessions',
9
+ };
10
+ var MongoDBSessionStorage = /** @class */ (function () {
11
+ function MongoDBSessionStorage(dbUrl, dbName, opts) {
12
+ if (opts === void 0) { opts = {}; }
13
+ this.dbUrl = dbUrl;
14
+ this.dbName = dbName;
15
+ if (typeof this.dbUrl === 'string') {
16
+ this.dbUrl = new URL(this.dbUrl);
17
+ }
18
+ this.options = tslib_1.__assign(tslib_1.__assign({}, defaultMongoDBSessionStorageOptions), opts);
19
+ this.ready = this.init();
20
+ }
21
+ MongoDBSessionStorage.withCredentials = function (host, dbName, username, password, opts) {
22
+ return new MongoDBSessionStorage(new URL("mongodb://".concat(encodeURIComponent(username), ":").concat(encodeURIComponent(password), "@").concat(host, "/")), dbName, opts);
23
+ };
24
+ MongoDBSessionStorage.prototype.storeSession = function (session) {
25
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
26
+ return tslib_1.__generator(this, function (_a) {
27
+ switch (_a.label) {
28
+ case 0: return [4 /*yield*/, this.ready];
29
+ case 1:
30
+ _a.sent();
31
+ return [4 /*yield*/, this.collection.findOneAndReplace({ id: session.id }, session.toObject(), {
32
+ upsert: true,
33
+ })];
34
+ case 2:
35
+ _a.sent();
36
+ return [2 /*return*/, true];
37
+ }
38
+ });
39
+ });
40
+ };
41
+ MongoDBSessionStorage.prototype.loadSession = function (id) {
42
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
43
+ var result;
44
+ return tslib_1.__generator(this, function (_a) {
45
+ switch (_a.label) {
46
+ case 0: return [4 /*yield*/, this.ready];
47
+ case 1:
48
+ _a.sent();
49
+ return [4 /*yield*/, this.collection.findOne({ id: id })];
50
+ case 2:
51
+ result = _a.sent();
52
+ return [2 /*return*/, result ? new shopify_api_1.Session(result) : undefined];
53
+ }
54
+ });
55
+ });
56
+ };
57
+ MongoDBSessionStorage.prototype.deleteSession = function (id) {
58
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
59
+ return tslib_1.__generator(this, function (_a) {
60
+ switch (_a.label) {
61
+ case 0: return [4 /*yield*/, this.ready];
62
+ case 1:
63
+ _a.sent();
64
+ return [4 /*yield*/, this.collection.deleteOne({ id: id })];
65
+ case 2:
66
+ _a.sent();
67
+ return [2 /*return*/, true];
68
+ }
69
+ });
70
+ });
71
+ };
72
+ MongoDBSessionStorage.prototype.deleteSessions = function (ids) {
73
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
74
+ return tslib_1.__generator(this, function (_a) {
75
+ switch (_a.label) {
76
+ case 0: return [4 /*yield*/, this.ready];
77
+ case 1:
78
+ _a.sent();
79
+ return [4 /*yield*/, this.collection.deleteMany({ id: { $in: ids } })];
80
+ case 2:
81
+ _a.sent();
82
+ return [2 /*return*/, true];
83
+ }
84
+ });
85
+ });
86
+ };
87
+ MongoDBSessionStorage.prototype.findSessionsByShop = function (shop) {
88
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
89
+ var rawResults;
90
+ return tslib_1.__generator(this, function (_a) {
91
+ switch (_a.label) {
92
+ case 0: return [4 /*yield*/, this.ready];
93
+ case 1:
94
+ _a.sent();
95
+ return [4 /*yield*/, this.collection.find({ shop: shop }).toArray()];
96
+ case 2:
97
+ rawResults = _a.sent();
98
+ if (!rawResults || (rawResults === null || rawResults === void 0 ? void 0 : rawResults.length) === 0)
99
+ return [2 /*return*/, []];
100
+ return [2 /*return*/, rawResults.map(function (rawResult) { return new shopify_api_1.Session(rawResult); })];
101
+ }
102
+ });
103
+ });
104
+ };
105
+ MongoDBSessionStorage.prototype.disconnect = function () {
106
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
107
+ return tslib_1.__generator(this, function (_a) {
108
+ switch (_a.label) {
109
+ case 0: return [4 /*yield*/, this.client.close()];
110
+ case 1:
111
+ _a.sent();
112
+ return [2 /*return*/];
113
+ }
114
+ });
115
+ });
116
+ };
117
+ Object.defineProperty(MongoDBSessionStorage.prototype, "collection", {
118
+ get: function () {
119
+ return this.client
120
+ .db(this.dbName)
121
+ .collection(this.options.sessionCollectionName);
122
+ },
123
+ enumerable: false,
124
+ configurable: true
125
+ });
126
+ MongoDBSessionStorage.prototype.init = function () {
127
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
128
+ return tslib_1.__generator(this, function (_a) {
129
+ switch (_a.label) {
130
+ case 0:
131
+ this.client = new mongodb.MongoClient(this.dbUrl.toString());
132
+ return [4 /*yield*/, this.client.connect()];
133
+ case 1:
134
+ _a.sent();
135
+ return [4 /*yield*/, this.client.db().command({ ping: 1 })];
136
+ case 2:
137
+ _a.sent();
138
+ return [4 /*yield*/, this.createCollection()];
139
+ case 3:
140
+ _a.sent();
141
+ return [2 /*return*/];
142
+ }
143
+ });
144
+ });
145
+ };
146
+ MongoDBSessionStorage.prototype.hasSessionCollection = function () {
147
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
148
+ var collections;
149
+ return tslib_1.__generator(this, function (_a) {
150
+ switch (_a.label) {
151
+ case 0: return [4 /*yield*/, this.client.db().collections()];
152
+ case 1:
153
+ collections = _a.sent();
154
+ return [2 /*return*/, collections
155
+ .map(function (collection) { return collection.collectionName; })
156
+ .includes(this.options.sessionCollectionName)];
157
+ }
158
+ });
159
+ });
160
+ };
161
+ MongoDBSessionStorage.prototype.createCollection = function () {
162
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
163
+ var hasSessionCollection;
164
+ return tslib_1.__generator(this, function (_a) {
165
+ switch (_a.label) {
166
+ case 0: return [4 /*yield*/, this.hasSessionCollection()];
167
+ case 1:
168
+ hasSessionCollection = _a.sent();
169
+ if (!!hasSessionCollection) return [3 /*break*/, 3];
170
+ return [4 /*yield*/, this.client.db().collection(this.options.sessionCollectionName)];
171
+ case 2:
172
+ _a.sent();
173
+ _a.label = 3;
174
+ case 3: return [2 /*return*/];
175
+ }
176
+ });
177
+ });
178
+ };
179
+ return MongoDBSessionStorage;
180
+ }());
181
+ exports.MongoDBSessionStorage = MongoDBSessionStorage;
182
+ //# sourceMappingURL=mongodb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mongodb.js","sourceRoot":"","sources":["../../src/mongodb.ts"],"names":[],"mappings":";;;;AAAA,uDAAmC;AACnC,oDAA6C;AAM7C,IAAM,mCAAmC,GAAiC;IACxE,qBAAqB,EAAE,kBAAkB;CAC1C,CAAC;AAEF;IAwBE,+BACU,KAAU,EACV,MAAc,EACtB,IAAgD;QAAhD,qBAAA,EAAA,SAAgD;QAFxC,UAAK,GAAL,KAAK,CAAK;QACV,WAAM,GAAN,MAAM,CAAQ;QAGtB,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE;YAClC,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAClC;QACD,IAAI,CAAC,OAAO,yCAAO,mCAAmC,GAAK,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;IAjCM,qCAAe,GAAtB,UACE,IAAY,EACZ,MAAc,EACd,QAAgB,EAChB,QAAgB,EAChB,IAA2C;QAE3C,OAAO,IAAI,qBAAqB,CAC9B,IAAI,GAAG,CACL,oBAAa,kBAAkB,CAAC,QAAQ,CAAC,cAAI,kBAAkB,CAC7D,QAAQ,CACT,cAAI,IAAI,MAAG,CACb,EACD,MAAM,EACN,IAAI,CACL,CAAC;IACJ,CAAC;IAmBY,4CAAY,GAAzB,UAA0B,OAAgB;;;;4BACxC,qBAAM,IAAI,CAAC,KAAK,EAAA;;wBAAhB,SAAgB,CAAC;wBAEjB,qBAAM,IAAI,CAAC,UAAU,CAAC,iBAAiB,CACrC,EAAC,EAAE,EAAE,OAAO,CAAC,EAAE,EAAC,EAChB,OAAO,CAAC,QAAQ,EAAE,EAClB;gCACE,MAAM,EAAE,IAAI;6BACb,CACF,EAAA;;wBAND,SAMC,CAAC;wBACF,sBAAO,IAAI,EAAC;;;;KACb;IAEY,2CAAW,GAAxB,UAAyB,EAAU;;;;;4BACjC,qBAAM,IAAI,CAAC,KAAK,EAAA;;wBAAhB,SAAgB,CAAC;wBAEF,qBAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAC,EAAE,IAAA,EAAC,CAAC,EAAA;;wBAA5C,MAAM,GAAG,SAAmC;wBAElD,sBAAO,MAAM,CAAC,CAAC,CAAC,IAAI,qBAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,EAAC;;;;KACjD;IAEY,6CAAa,GAA1B,UAA2B,EAAU;;;;4BACnC,qBAAM,IAAI,CAAC,KAAK,EAAA;;wBAAhB,SAAgB,CAAC;wBACjB,qBAAM,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAC,EAAE,IAAA,EAAC,CAAC,EAAA;;wBAArC,SAAqC,CAAC;wBACtC,sBAAO,IAAI,EAAC;;;;KACb;IAEY,8CAAc,GAA3B,UAA4B,GAAa;;;;4BACvC,qBAAM,IAAI,CAAC,KAAK,EAAA;;wBAAhB,SAAgB,CAAC;wBACjB,qBAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAC,EAAE,EAAE,EAAC,GAAG,EAAE,GAAG,EAAC,EAAC,CAAC,EAAA;;wBAAlD,SAAkD,CAAC;wBACnD,sBAAO,IAAI,EAAC;;;;KACb;IAEY,kDAAkB,GAA/B,UAAgC,IAAY;;;;;4BAC1C,qBAAM,IAAI,CAAC,KAAK,EAAA;;wBAAhB,SAAgB,CAAC;wBAEE,qBAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,IAAI,MAAA,EAAC,CAAC,CAAC,OAAO,EAAE,EAAA;;wBAAzD,UAAU,GAAG,SAA4C;wBAC/D,IAAI,CAAC,UAAU,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,MAAK,CAAC;4BAAE,sBAAO,EAAE,EAAC;wBAEvD,sBAAO,UAAU,CAAC,GAAG,CAAC,UAAC,SAAc,IAAK,OAAA,IAAI,qBAAO,CAAC,SAAS,CAAC,EAAtB,CAAsB,CAAC,EAAC;;;;KACnE;IAEY,0CAAU,GAAvB;;;;4BACE,qBAAM,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,EAAA;;wBAAzB,SAAyB,CAAC;;;;;KAC3B;IAED,sBAAY,6CAAU;aAAtB;YACE,OAAO,IAAI,CAAC,MAAM;iBACf,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;iBACf,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACpD,CAAC;;;OAAA;IAEa,oCAAI,GAAlB;;;;;wBACE,IAAI,CAAC,MAAM,GAAG,IAAK,OAAe,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;wBACtE,qBAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,EAAA;;wBAA3B,SAA2B,CAAC;wBAC5B,qBAAM,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAC,IAAI,EAAE,CAAC,EAAC,CAAC,EAAA;;wBAAzC,SAAyC,CAAC;wBAC1C,qBAAM,IAAI,CAAC,gBAAgB,EAAE,EAAA;;wBAA7B,SAA6B,CAAC;;;;;KAC/B;IAEa,oDAAoB,GAAlC;;;;;4BACsB,qBAAM,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,WAAW,EAAE,EAAA;;wBAAlD,WAAW,GAAG,SAAoC;wBACxD,sBAAO,WAAW;iCACf,GAAG,CAAC,UAAC,UAAe,IAAK,OAAA,UAAU,CAAC,cAAc,EAAzB,CAAyB,CAAC;iCACnD,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAC;;;;KACjD;IAEa,gDAAgB,GAA9B;;;;;4BAC+B,qBAAM,IAAI,CAAC,oBAAoB,EAAE,EAAA;;wBAAxD,oBAAoB,GAAG,SAAiC;6BAC1D,CAAC,oBAAoB,EAArB,wBAAqB;wBACvB,qBAAM,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAA;;wBAArE,SAAqE,CAAC;;;;;;KAEzE;IACH,4BAAC;AAAD,CAAC,AA5GD,IA4GC;AA5GY,sDAAqB"}
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/bson/bson.d.ts","../../../node_modules/mongodb/mongodb.d.ts","../../../node_modules/@shopify/shopify-api/rest/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/scopes/index.d.ts","../../../node_modules/@shopify/shopify-api/runtime/http/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/oauth/types.d.ts","../../../node_modules/@shopify/shopify-api/runtime/http/cookies.d.ts","../../../node_modules/@shopify/shopify-api/runtime/http/headers.d.ts","../../../node_modules/@shopify/shopify-api/runtime/http/utils.d.ts","../../../node_modules/@shopify/shopify-api/runtime/http/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/session/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/session/session.d.ts","../../../node_modules/@shopify/shopify-api/lib/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/billing/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/base-types.d.ts","../../../node_modules/@shopify/network/build/ts/network.d.ts","../../../node_modules/@shopify/network/build/ts/index.d.ts","../../../node_modules/@shopify/network/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/http_client/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/http_client/http_client.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/rest/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/rest/rest_client.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/graphql/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/graphql/graphql_client.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/graphql/storefront_client.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/clients/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/oauth/nonce.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/oauth/safe-compare.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/oauth/oauth.d.ts","../../../node_modules/@shopify/shopify-api/lib/auth/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/session/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/utils/index.d.ts","../../../node_modules/@shopify/shopify-api/runtime/crypto/types.d.ts","../../../node_modules/@shopify/shopify-api/runtime/platform/types.d.ts","../../../node_modules/@shopify/shopify-api/runtime/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/webhooks/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/webhooks/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/billing/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/logger/types.d.ts","../../../node_modules/@shopify/shopify-api/lib/logger/log.d.ts","../../../node_modules/@shopify/shopify-api/lib/logger/index.d.ts","../../../node_modules/@shopify/shopify-api/lib/error.d.ts","../../../node_modules/@shopify/shopify-api/lib/session/classes.d.ts","../../../node_modules/@shopify/shopify-api/lib/index.d.ts","../../shopify-app-session-storage/build/ts/session-storage.d.ts","../src/mongodb.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/Mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/compression/index.d.ts","../../../node_modules/@types/cookie-parser/index.d.ts","../../../node_modules/@types/cookiejar/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/ci-info/index.d.ts","../../../node_modules/@types/is-ci/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@types/jest/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/form-data/index.d.ts","../../../node_modules/@types/node-fetch/externals.d.ts","../../../node_modules/@types/node-fetch/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/pg-types/index.d.ts","../../../node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/@types/pg/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/signal-exit/index.d.ts","../../../node_modules/@types/sqlite3/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/superagent/index.d.ts","../../../node_modules/@types/supertest/index.d.ts","../../../node_modules/@types/webidl-conversions/index.d.ts","../../../node_modules/@types/whatwg-url/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","impliedFormat":1},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true,"impliedFormat":1},{"version":"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9","impliedFormat":1},{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"afcc1c426b76db7ec80e563d4fb0ba9e6bcc6e63c2d7e9342e649dc56d26347f","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","impliedFormat":1},{"version":"d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","impliedFormat":1},{"version":"b01a80007e448d035a16c74b5c95a5405b2e81b12fabcf18b75aa9eb9ef28990","impliedFormat":1},{"version":"04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","impliedFormat":1},{"version":"dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","impliedFormat":1},{"version":"7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"213fc4f2b172d8beb74b77d7c1b41488d67348066d185e4263470cbb010cd6e8","impliedFormat":1},{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7db71191aa7aac5d6bc927ed6e7075c2763d22c7238227ec0c63c8cf5cb6a8b","affectsGlobalScope":true,"impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9a8d4274033cb520ee12d6f68d161ba2b9128b87399645d3916b71187032836","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"78058b4bb5b052718f6794d96b9207df1e4fbc361c36bf97d46ac628fc19a932","impliedFormat":1},{"version":"7aeb740b811e94cb6d82ba17663324270a7396e14489f63c338d983e83ef41c4","impliedFormat":1},{"version":"94873b6c8f74477bbac15fbf67501abe0dec28c512f99c094771f125a980f270","impliedFormat":1},{"version":"f33f7eaaf2db20a66729570b9700b8fc041aec67467a5b49b7c2166f04fc9ad1","impliedFormat":1},{"version":"9bdd60924fedb439aca9c1566b73353353d3553b4484ec79d7bde9d9402e6f7a","impliedFormat":1},{"version":"6855f94086809eed7137c20d3304b1dd22e2bb3f3de458e5c8e38c79c62ca599","impliedFormat":1},{"version":"135b806ce26b7009b03ca044af95abbc4c917198e1e0718ffdd2907aa4622135","impliedFormat":1},{"version":"f1aa32110f9a8d5daa0bc17fea6cc14b11f9ca07f55723694f68d631410428b1","impliedFormat":1},{"version":"6e9368badd7a2e10960e86fd2e85835c4e510eae0deaebcfa08b4c60bac4fa18","impliedFormat":1},{"version":"6be5c9e37cc0e4da0a87bfb5a502eca70524a70939ab1ac1a8be67815a9f663f","impliedFormat":1},{"version":"d33aa5f6a134a93570b66a2d56bf4900c598c7c3a582fb5bfa9d9fc8acf7d22c","impliedFormat":1},{"version":"4c4749c5df5c918deb5fcc2c30fb38d202b4114a1918d043c1373594aa9e3882","impliedFormat":1},{"version":"ba28b76c9028ac486eb85a3958b8bdb1c1a8cb7e68e0ff4150bba72b9abc5411","impliedFormat":1},{"version":"92d3ad638c2cee33544bcd0f9c07c793c3a1a270934785c8f630f25a01e14993","impliedFormat":1},{"version":"05f5ca91ab7923725897109977d979faa9c72cbb6a38bc378ada7ccb859bf492","impliedFormat":1},{"version":"9d79c69e1d00112a38f1b7fd807dcea52accb33e281b7ae0a1158c5357e08b81","impliedFormat":1},{"version":"ff64b78178c3e91e167cdcd16fc9965d3afaf13977da0d8eeef905a91a4ecdf8","impliedFormat":1},{"version":"c764e4b366d618f322eed2516625504271df236685eb19101b1f7715eebb5ff9","impliedFormat":1},{"version":"4ff209d439142a4a22bf8a59f6dcd24d5627dba570269c7550bf743f2cf92f59","impliedFormat":1},{"version":"63d2f799eb7f685a9efe2ee54eff408e5e908bf34983b48615e6bd91e3b79b4f","impliedFormat":1},{"version":"47b9623efd58486939e867ea51a02962e2dc259efe7eca50f1be5e40dd193bbb","impliedFormat":1},{"version":"f1fdc737807a41945fcf14818d0ee2a4fbcdb97d9e2d8ad711f60fb407e0da54","impliedFormat":1},{"version":"b214b79a28bada3b9a643d373ee088978cdd73fb69df2e21261803b5aecc5a8b","impliedFormat":1},{"version":"15fb40b50acea063c3ea7d7381c95ca4d4460d1a62a22cfdd855688f5e7e823f","impliedFormat":1},{"version":"6b7ec96a5560b73fc796584de26c0dce2be922affdac93b2a772aedaa5e2a5cc","impliedFormat":1},{"version":"646ce1e3cc93669356835a857c44ebb41da47d935e737ce42151acefd0b75870","impliedFormat":1},{"version":"b20bd9ba5026c15807436e8f4214da785c6ef3f59fe31ec8b0386ae97a21e9dc","impliedFormat":1},{"version":"cc6e9834efb5a2d3961712e98b0b7ab1641150f53b1e09601ea096776a4ba956","impliedFormat":1},{"version":"88c75b6520990074a018abcbbdedc5c92029967da40a5b5f3d732020866d000b","impliedFormat":1},{"version":"c7bcb42030eac834ed895ca12b41d3a88e89c63ccb893da59525152d7b794bd9","impliedFormat":1},{"version":"349e84a3604727693e0188b03238d0746e6b7d43fc38681f847c6d04a02343b1","impliedFormat":1},{"version":"5a174ce790df86f0fa7dd765e22abedf42d67f0d8ed04842bf78d7a9714e5946","impliedFormat":1},{"version":"9c14094d01f8ccbd0c68db2fac2198ae03953ad96ad9adbb4bb12777966ad1bb","impliedFormat":1},{"version":"81dce9a441a79fc51543ed908d99c1a8ce31b25c2968ebacd0f383a7c21b48b0","impliedFormat":1},{"version":"f65b7949c66ab69d61405a3a4547ef87fdfe3a187c3cc380f0c46f0c119b383f","impliedFormat":1},{"version":"2f42649cdf00acedf3b7aea88d70a8b18557f2359ff01dcb3fdc0f36e5d6fe7b","impliedFormat":1},{"version":"8c8b416f49bb9d4d6b51ca3a030bbee92be2e6cda96de6b649b6149159cdc79e","impliedFormat":1},{"version":"e592ea1c532f8bcddfff74c1d6b280f9c79fce97ed7843281d7c453a1d92ae1b","impliedFormat":1},{"version":"46b3a83c8820a179f423227a335f190c27df070c5d901fc17265f0c28cdade64","impliedFormat":1},{"version":"9cd0cfec6c198029bf0b3aae46bfbff13bbd4087774c6a16ebca911e0d383573","impliedFormat":1},{"version":"fb42628cd240623e7adc7de195d2479b7ba86ce76f346ea714abee74eefb04b8","impliedFormat":1},{"version":"d2a2bb22305ffeddfdf5d2de4875571a90b235288e2f04160591f283da22535f","impliedFormat":1},{"version":"3ca035c00ddac289260292e43f487e46085c101535562e126e4160a97740a7a1","impliedFormat":1},{"version":"755cac95c26a42729c3b46211dccb31638d03f5d882fb0d6e34a79a81c632edd","impliedFormat":1},{"version":"5cc76f3ab516fbd47cceb488182c37925d115024a038d703405d06d8e038d51f","impliedFormat":1},{"version":"37bd481719609b4485484315248c9ccc2b63e96a4beeb6e13a156b3dd2e0a0b9","impliedFormat":1},{"version":"90436266039d2c72f2857b2d8476fe5bbf21b9cc9409d9d124330d1fc258e649","impliedFormat":1},{"version":"f2b4812e1fab308341a66515ee64e57da1978a48adf8f8acd2de3a4cfc05c732","signature":"8889dc95aee3670945cb219549508c8f4cc71c5ac6b5ddb1af27fd75c67b87e1","impliedFormat":1},{"version":"b2f7fe7faccd7324583435ad92f8cb26a4ccc85de336839cf78afd6006f1d4bc","impliedFormat":1},{"version":"cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","impliedFormat":1},{"version":"7463cb4f8b66b66d5468fc84f5446f48b8402cdeec6bfce1f0b2ab383992d3b5","impliedFormat":1},{"version":"93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","impliedFormat":1},{"version":"dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","impliedFormat":1},{"version":"331dd4fb49f27df3e88bcd1361a063de1e9bcc7d463d6dc386b0c0d690c1a66f","impliedFormat":1},{"version":"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","impliedFormat":1},{"version":"afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","impliedFormat":1},{"version":"16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","impliedFormat":1},{"version":"ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","impliedFormat":1},{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","impliedFormat":1},{"version":"951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","impliedFormat":1},{"version":"f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","impliedFormat":1},{"version":"15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","impliedFormat":1},{"version":"717e5f864ab6e755a23b66a7935920d9a73ec7d4728b84ddf85c1d334a9414ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b78398949ba8cd33ff048652ce14906ce8b799f70c841c024e14666ef458254","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","impliedFormat":1},{"version":"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","impliedFormat":1},{"version":"ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","impliedFormat":1},{"version":"963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","impliedFormat":1},{"version":"fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","impliedFormat":1},{"version":"3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","impliedFormat":1},{"version":"4fdfed3ed7158210852cfc255b87e0bfb2cd066e150c4a43666c4137f4dbe511","impliedFormat":1},{"version":"a3e5b8b86e7bd38d9afdc294875c4445c535319e288d3a13c1e2e41f9af934f2","impliedFormat":1},{"version":"8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","impliedFormat":1},{"version":"7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","impliedFormat":1},{"version":"f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","impliedFormat":1},{"version":"a7321c0e96eecb19dcbf178493836474cef21ee3f9345384ce9d74e4be31228d","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"3054ef91b855e005b9c4681399e9d64d2a7b07a22d539314d794f09e53b876a7","impliedFormat":1},{"version":"427ce5854885cfc34387e09de05c1d5c1acf94c2143e1693f1d9ff54880573e7","impliedFormat":1},{"version":"bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","impliedFormat":1},{"version":"ac127e4c6f2b5220b293cc9d2e64ba49781225b792a51cda50f3db8eafba550c","impliedFormat":1},{"version":"720cc88a37751d012654b508f0588263269aaaebc3fe12320b94c6e8633a20f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","impliedFormat":1},{"version":"209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","impliedFormat":1},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","impliedFormat":1},{"version":"3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","impliedFormat":1},{"version":"6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","impliedFormat":1},{"version":"2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","impliedFormat":1},{"version":"f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","impliedFormat":1},{"version":"13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","impliedFormat":1},{"version":"93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","impliedFormat":1},{"version":"8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","impliedFormat":1},{"version":"87352bb579421f6938177a53bb66e8514067b4872ccaa5fe08ddbca56364570c","impliedFormat":1},{"version":"b616bf3ba61b9bf4311d1d05db4c499db39f588aa2ec4d4d32b1822ddffd2fd5","impliedFormat":1},{"version":"7a255524a57e2a24851fd794ed17f3ed7b93b10d85adf437669fb0ad04f34ef1","impliedFormat":1},{"version":"b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","impliedFormat":1},{"version":"31c502014e5ba046d5cb060136929b73fd53f0f989aa37b2b0424644cb0d93ef","impliedFormat":1},{"version":"76232dbb982272b182a76ad8745a9b02724dc9896e2328ce360e2c56c64c9778","impliedFormat":1},{"version":"ea2d34766aa08df002a696e27d2140c0834cb8d7e9cb35687ecfd578253c196c","impliedFormat":1},{"version":"67483628398336d0f9368578a9514bd8cc823a4f3b3ab784f3942077e5047335","impliedFormat":1},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01","impliedFormat":1}],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"noEmitOnError":false,"noImplicitAny":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./ts","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strictNullChecks":true,"target":1},"fileIdsList":[[91,148],[91],[91,115],[91,116],[91,114,127,128,129,130],[91,105,109,111,114],[91,104],[91,105,109],[91,102,103,112,113],[91,113,114],[91,111,112],[91,111,114,118,119,122],[91,122,123],[91,111,118],[91,114,118],[91,109,117],[91,114,121,123,124,125],[91,111,114,118,119,120],[91,118,120,122],[91,102,110,112,114,126,129,131,132,133,137,138,139,142,143,144],[91,114,140,141],[91,112,114],[91,111],[91,110,114],[91,103,105,110],[91,114,145],[91,114,137],[91,111,136],[91,109],[91,104,106,107,108],[91,104,134,135],[91,148,149,150,151,152],[91,148,150],[64,91,98,154],[91,162],[64,91,98],[61,64,91,98,156,157],[91,155,157,158,161],[62,91,98],[61,62,91,98,168],[91,171],[91,173],[91,174],[91,180,183],[91,178],[91,176,182],[91,180],[91,177,181],[91,179],[91,98],[91,160],[91,159],[64,90,91,98,189,190],[45,91],[48,91],[49,54,82,91],[50,61,62,69,79,90,91],[50,51,61,69,91],[52,91],[53,54,62,70,91],[54,79,87,91],[55,57,61,69,91],[56,91],[57,58,91],[61,91],[59,61,91],[61,62,63,79,90,91],[61,62,63,76,79,82,91],[91,95],[64,69,79,90,91],[61,62,64,65,69,79,87,90,91],[64,66,79,87,90,91],[45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[61,67,91],[68,90,91],[57,61,69,79,91],[70,91],[71,91],[48,72,91],[73,89,91,95],[74,91],[75,91],[61,76,77,91],[76,78,91,93],[49,61,79,80,81,82,91],[49,79,81,91],[79,80,91],[82,91],[83,91],[61,85,86,91],[85,86,91],[54,69,79,87,91],[88,91],[69,89,91],[49,64,75,90,91],[54,91],[79,91,92],[91,93],[91,94],[49,54,61,63,72,79,90,91,93,95],[79,91,96],[61,79,87,91,98,194,195,198,199],[64,91,98,160],[61,91,98],[49,62,64,79,91,98,165],[91,206],[91,210],[49,91],[64,79,91,98],[57,61,69,79,87,91,98,100],[91,98,195,196,197],[79,91,98,195],[44,91,101,145,146],[91,145],[145,146]],"referencedMap":[[150,1],[148,2],[116,3],[115,2],[117,4],[131,5],[127,2],[130,6],[128,2],[105,7],[103,2],[129,8],[114,9],[139,10],[113,11],[123,12],[124,13],[122,14],[119,15],[118,16],[126,17],[121,18],[120,14],[125,19],[143,7],[145,20],[142,21],[141,22],[140,2],[144,23],[132,24],[111,25],[110,8],[112,2],[133,26],[138,27],[137,28],[102,2],[134,2],[106,29],[107,7],[109,30],[104,2],[108,2],[135,2],[136,31],[178,2],[153,32],[149,1],[151,33],[152,1],[155,34],[163,35],[154,36],[164,35],[165,2],[166,2],[158,37],[162,38],[167,39],[169,40],[170,39],[172,41],[173,2],[174,42],[175,43],[184,44],[176,2],[179,45],[183,46],[181,47],[182,48],[180,49],[185,2],[186,2],[187,50],[159,51],[160,52],[168,2],[188,2],[190,2],[191,53],[45,54],[46,54],[48,55],[49,56],[50,57],[51,58],[52,59],[53,60],[54,61],[55,62],[56,63],[57,64],[58,64],[60,65],[59,66],[61,65],[62,67],[63,68],[47,69],[97,2],[64,70],[65,71],[66,72],[98,73],[67,74],[68,75],[69,76],[70,77],[71,78],[72,79],[73,80],[74,81],[75,82],[76,83],[77,83],[78,84],[79,85],[81,86],[80,87],[82,88],[83,89],[84,2],[85,90],[86,91],[87,92],[88,93],[89,94],[90,95],[91,96],[92,97],[93,98],[94,99],[95,100],[96,101],[192,2],[193,2],[199,102],[200,2],[157,2],[156,2],[201,50],[202,2],[161,103],[203,2],[204,104],[205,2],[206,105],[207,106],[208,2],[209,50],[210,2],[211,107],[100,108],[99,2],[177,2],[171,2],[189,109],[101,110],[198,111],[195,50],[197,112],[196,50],[194,2],[44,2],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[147,113],[146,114]],"exportedModulesMap":[[150,1],[148,2],[116,3],[115,2],[117,4],[131,5],[127,2],[130,6],[128,2],[105,7],[103,2],[129,8],[114,9],[139,10],[113,11],[123,12],[124,13],[122,14],[119,15],[118,16],[126,17],[121,18],[120,14],[125,19],[143,7],[145,20],[142,21],[141,22],[140,2],[144,23],[132,24],[111,25],[110,8],[112,2],[133,26],[138,27],[137,28],[102,2],[134,2],[106,29],[107,7],[109,30],[104,2],[108,2],[135,2],[136,31],[178,2],[153,32],[149,1],[151,33],[152,1],[155,34],[163,35],[154,36],[164,35],[165,2],[166,2],[158,37],[162,38],[167,39],[169,40],[170,39],[172,41],[173,2],[174,42],[175,43],[184,44],[176,2],[179,45],[183,46],[181,47],[182,48],[180,49],[185,2],[186,2],[187,50],[159,51],[160,52],[168,2],[188,2],[190,2],[191,53],[45,54],[46,54],[48,55],[49,56],[50,57],[51,58],[52,59],[53,60],[54,61],[55,62],[56,63],[57,64],[58,64],[60,65],[59,66],[61,65],[62,67],[63,68],[47,69],[97,2],[64,70],[65,71],[66,72],[98,73],[67,74],[68,75],[69,76],[70,77],[71,78],[72,79],[73,80],[74,81],[75,82],[76,83],[77,83],[78,84],[79,85],[81,86],[80,87],[82,88],[83,89],[84,2],[85,90],[86,91],[87,92],[88,93],[89,94],[90,95],[91,96],[92,97],[93,98],[94,99],[95,100],[96,101],[192,2],[193,2],[199,102],[200,2],[157,2],[156,2],[201,50],[202,2],[161,103],[203,2],[204,104],[205,2],[206,105],[207,106],[208,2],[209,50],[210,2],[211,107],[100,108],[99,2],[177,2],[171,2],[189,109],[101,110],[198,111],[195,50],[197,112],[196,50],[194,2],[44,2],[8,2],[9,2],[11,2],[10,2],[2,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[3,2],[4,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[43,2],[147,115],[146,114]],"semanticDiagnosticsPerFile":[150,148,116,115,117,131,127,130,128,105,103,129,114,139,113,123,124,122,119,118,126,121,120,125,143,145,142,141,140,144,132,111,110,112,133,138,137,102,134,106,107,109,104,108,135,136,178,153,149,151,152,155,163,154,164,165,166,158,162,167,169,170,172,173,174,175,184,176,179,183,181,182,180,185,186,187,159,160,168,188,190,191,45,46,48,49,50,51,52,53,54,55,56,57,58,60,59,61,62,63,47,97,64,65,66,98,67,68,69,70,71,72,73,74,75,76,77,78,79,81,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,192,193,199,200,157,156,201,202,161,203,204,205,206,207,208,209,210,211,100,99,177,171,189,101,198,195,197,196,194,44,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,147,146],"latestChangedDtsFile":"./ts/mongodb.d.ts"},"version":"4.9.3"}
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@shopify/shopify-app-session-storage-mongodb",
3
+ "version": "1.0.0-rc.0",
4
+ "description": "Shopify App Session Storage for MongoDB",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/Shopify/shopify-app-js.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/Shopify/shopify-app-js/issues"
11
+ },
12
+ "homepage": "https://github.com/Shopify/shopify-app-js/tree/main/packages/session-storage-mongodb",
13
+ "author": "Shopify Inc.",
14
+ "license": "MIT",
15
+ "main": "./build/cjs/mongodb.js",
16
+ "types": "./build/ts/mongodb.d.ts",
17
+ "scripts": {},
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "keywords": [
22
+ "shopify",
23
+ "node",
24
+ "app",
25
+ "graphql",
26
+ "rest",
27
+ "webhook",
28
+ "Admin API",
29
+ "Storefront API",
30
+ "MongoDB",
31
+ "session storage"
32
+ ],
33
+ "dependencies": {
34
+ "@shopify/shopify-api": "^6.0.0-rc9",
35
+ "@shopify/shopify-app-session-storage": "^1.0.0-rc.0",
36
+ "mongodb": "^4.11.0",
37
+ "tslib": "^2.4.0"
38
+ },
39
+ "devDependencies": {
40
+ "@shopify/eslint-plugin": "^42.0.1",
41
+ "@shopify/prettier-config": "^1.1.2",
42
+ "@shopify/shopify-app-session-storage-test-utils": "^0.0.1-rc.0",
43
+ "@types/jest": "^29.1.1",
44
+ "eslint": "^8.24.0",
45
+ "eslint-plugin-prettier": "^4.2.1",
46
+ "jest": "^28.1.3",
47
+ "jest-fetch-mock": "^3.0.3",
48
+ "jest-runner-eslint": "^1.1.0",
49
+ "prettier": "^2.7.1",
50
+ "ts-jest": "^28.0.8",
51
+ "ts-node": "^10.9.1",
52
+ "typescript": "4.8.4"
53
+ },
54
+ "files": [
55
+ "build/*",
56
+ "!bundle/*",
57
+ "!tsconfig.tsbuildinfo",
58
+ "!node_modules"
59
+ ]
60
+ }