@shopify/shopify-app-session-storage-redis 3.0.2 → 3.0.4
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/README.md +1 -1
- package/dist/cjs/migrations.js +33 -0
- package/dist/cjs/migrations.js.map +1 -0
- package/dist/cjs/redis-connection.js +51 -0
- package/dist/cjs/redis-connection.js.map +1 -0
- package/dist/cjs/redis-migrator.js +37 -0
- package/dist/cjs/redis-migrator.js.map +1 -0
- package/dist/cjs/redis.js +106 -0
- package/dist/cjs/redis.js.map +1 -0
- package/dist/esm/migrations.mjs +30 -0
- package/dist/esm/migrations.mjs.map +1 -0
- package/dist/esm/redis-connection.mjs +49 -0
- package/dist/esm/redis-connection.mjs.map +1 -0
- package/dist/esm/redis-migrator.mjs +35 -0
- package/dist/esm/redis-migrator.mjs.map +1 -0
- package/dist/esm/redis.mjs +104 -0
- package/dist/esm/redis.mjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +20 -10
- package/build/cjs/migrations.js +0 -33
- package/build/cjs/redis-connection.js +0 -54
- package/build/cjs/redis-migrator.js +0 -39
- package/build/cjs/redis.js +0 -111
- package/build/ts/migrations.js +0 -83
- package/build/ts/migrations.js.map +0 -1
- package/build/ts/redis-connection.js +0 -96
- package/build/ts/redis-connection.js.map +0 -1
- package/build/ts/redis-migrator.js +0 -72
- package/build/ts/redis-migrator.js.map +0 -1
- package/build/ts/redis.js +0 -237
- package/build/ts/redis.js.map +0 -1
- /package/{build → dist}/ts/migrations.d.ts +0 -0
- /package/{build → dist}/ts/migrations.d.ts.map +0 -0
- /package/{build → dist}/ts/redis-connection.d.ts +0 -0
- /package/{build → dist}/ts/redis-connection.d.ts.map +0 -0
- /package/{build → dist}/ts/redis-migrator.d.ts +0 -0
- /package/{build → dist}/ts/redis-migrator.d.ts.map +0 -0
- /package/{build → dist}/ts/redis.d.ts +0 -0
- /package/{build → dist}/ts/redis.d.ts.map +0 -0
package/build/ts/redis.js
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RedisSessionStorage = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var shopify_api_1 = require("@shopify/shopify-api");
|
|
6
|
-
var migrations_1 = require("./migrations");
|
|
7
|
-
var redis_connection_1 = require("./redis-connection");
|
|
8
|
-
var redis_migrator_1 = require("./redis-migrator");
|
|
9
|
-
var defaultRedisSessionStorageOptions = {
|
|
10
|
-
sessionKeyPrefix: 'shopify_sessions',
|
|
11
|
-
migratorOptions: {
|
|
12
|
-
migrationDBIdentifier: 'migrations',
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
var RedisSessionStorage = /** @class */ (function () {
|
|
16
|
-
function RedisSessionStorage(dbUrl, opts) {
|
|
17
|
-
if (opts === void 0) { opts = {}; }
|
|
18
|
-
this.options = tslib_1.__assign(tslib_1.__assign({}, defaultRedisSessionStorageOptions), opts);
|
|
19
|
-
this.internalInit = this.init(typeof dbUrl === 'string' ? dbUrl : dbUrl.toString());
|
|
20
|
-
this.migrator = new redis_migrator_1.RedisSessionStorageMigrator(this.client, this.options.migratorOptions, migrations_1.migrationList);
|
|
21
|
-
this.ready = this.migrator.applyMigrations(this.internalInit);
|
|
22
|
-
}
|
|
23
|
-
RedisSessionStorage.withCredentials = function (host, db, username, password, opts) {
|
|
24
|
-
return new RedisSessionStorage(new URL("redis://".concat(encodeURIComponent(username), ":").concat(encodeURIComponent(password), "@").concat(host, "/").concat(db)), opts);
|
|
25
|
-
};
|
|
26
|
-
RedisSessionStorage.prototype.storeSession = function (session) {
|
|
27
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
28
|
-
return tslib_1.__generator(this, function (_a) {
|
|
29
|
-
switch (_a.label) {
|
|
30
|
-
case 0: return [4 /*yield*/, this.ready];
|
|
31
|
-
case 1:
|
|
32
|
-
_a.sent();
|
|
33
|
-
return [4 /*yield*/, this.client.set(session.id, JSON.stringify(session.toPropertyArray()))];
|
|
34
|
-
case 2:
|
|
35
|
-
_a.sent();
|
|
36
|
-
return [4 /*yield*/, this.addKeyToShopList(session)];
|
|
37
|
-
case 3:
|
|
38
|
-
_a.sent();
|
|
39
|
-
return [2 /*return*/, true];
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
RedisSessionStorage.prototype.loadSession = function (id) {
|
|
45
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
46
|
-
var rawResult;
|
|
47
|
-
return tslib_1.__generator(this, function (_a) {
|
|
48
|
-
switch (_a.label) {
|
|
49
|
-
case 0: return [4 /*yield*/, this.ready];
|
|
50
|
-
case 1:
|
|
51
|
-
_a.sent();
|
|
52
|
-
return [4 /*yield*/, this.client.get(id)];
|
|
53
|
-
case 2:
|
|
54
|
-
rawResult = _a.sent();
|
|
55
|
-
if (!rawResult)
|
|
56
|
-
return [2 /*return*/, undefined];
|
|
57
|
-
rawResult = JSON.parse(rawResult);
|
|
58
|
-
return [2 /*return*/, shopify_api_1.Session.fromPropertyArray(rawResult)];
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
RedisSessionStorage.prototype.deleteSession = function (id) {
|
|
64
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
65
|
-
var session;
|
|
66
|
-
return tslib_1.__generator(this, function (_a) {
|
|
67
|
-
switch (_a.label) {
|
|
68
|
-
case 0: return [4 /*yield*/, this.ready];
|
|
69
|
-
case 1:
|
|
70
|
-
_a.sent();
|
|
71
|
-
return [4 /*yield*/, this.loadSession(id)];
|
|
72
|
-
case 2:
|
|
73
|
-
session = _a.sent();
|
|
74
|
-
if (!session) return [3 /*break*/, 5];
|
|
75
|
-
return [4 /*yield*/, this.removeKeyFromShopList(session.shop, id)];
|
|
76
|
-
case 3:
|
|
77
|
-
_a.sent();
|
|
78
|
-
return [4 /*yield*/, this.client.del(id)];
|
|
79
|
-
case 4:
|
|
80
|
-
_a.sent();
|
|
81
|
-
_a.label = 5;
|
|
82
|
-
case 5: return [2 /*return*/, true];
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
RedisSessionStorage.prototype.deleteSessions = function (ids) {
|
|
88
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
89
|
-
var _this = this;
|
|
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*/, Promise.all(ids.map(function (id) { return _this.deleteSession(id); }))];
|
|
96
|
-
case 2:
|
|
97
|
-
_a.sent();
|
|
98
|
-
return [2 /*return*/, true];
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
RedisSessionStorage.prototype.findSessionsByShop = function (shop) {
|
|
104
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
105
|
-
var idKeysArrayString, idKeysArray, results, idKeysArray_1, idKeysArray_1_1, idKey, rawResult, session, e_1_1;
|
|
106
|
-
var e_1, _a;
|
|
107
|
-
return tslib_1.__generator(this, function (_b) {
|
|
108
|
-
switch (_b.label) {
|
|
109
|
-
case 0: return [4 /*yield*/, this.ready];
|
|
110
|
-
case 1:
|
|
111
|
-
_b.sent();
|
|
112
|
-
return [4 /*yield*/, this.client.get(shop)];
|
|
113
|
-
case 2:
|
|
114
|
-
idKeysArrayString = _b.sent();
|
|
115
|
-
if (!idKeysArrayString)
|
|
116
|
-
return [2 /*return*/, []];
|
|
117
|
-
idKeysArray = JSON.parse(idKeysArrayString);
|
|
118
|
-
results = [];
|
|
119
|
-
_b.label = 3;
|
|
120
|
-
case 3:
|
|
121
|
-
_b.trys.push([3, 8, 9, 10]);
|
|
122
|
-
idKeysArray_1 = tslib_1.__values(idKeysArray), idKeysArray_1_1 = idKeysArray_1.next();
|
|
123
|
-
_b.label = 4;
|
|
124
|
-
case 4:
|
|
125
|
-
if (!!idKeysArray_1_1.done) return [3 /*break*/, 7];
|
|
126
|
-
idKey = idKeysArray_1_1.value;
|
|
127
|
-
return [4 /*yield*/, this.client.get(idKey, false)];
|
|
128
|
-
case 5:
|
|
129
|
-
rawResult = _b.sent();
|
|
130
|
-
if (!rawResult)
|
|
131
|
-
return [3 /*break*/, 6];
|
|
132
|
-
session = shopify_api_1.Session.fromPropertyArray(JSON.parse(rawResult));
|
|
133
|
-
results.push(session);
|
|
134
|
-
_b.label = 6;
|
|
135
|
-
case 6:
|
|
136
|
-
idKeysArray_1_1 = idKeysArray_1.next();
|
|
137
|
-
return [3 /*break*/, 4];
|
|
138
|
-
case 7: return [3 /*break*/, 10];
|
|
139
|
-
case 8:
|
|
140
|
-
e_1_1 = _b.sent();
|
|
141
|
-
e_1 = { error: e_1_1 };
|
|
142
|
-
return [3 /*break*/, 10];
|
|
143
|
-
case 9:
|
|
144
|
-
try {
|
|
145
|
-
if (idKeysArray_1_1 && !idKeysArray_1_1.done && (_a = idKeysArray_1.return)) _a.call(idKeysArray_1);
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_1) throw e_1.error; }
|
|
148
|
-
return [7 /*endfinally*/];
|
|
149
|
-
case 10: return [2 /*return*/, results];
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
RedisSessionStorage.prototype.disconnect = function () {
|
|
155
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
156
|
-
return tslib_1.__generator(this, function (_a) {
|
|
157
|
-
switch (_a.label) {
|
|
158
|
-
case 0: return [4 /*yield*/, this.client.disconnect()];
|
|
159
|
-
case 1:
|
|
160
|
-
_a.sent();
|
|
161
|
-
return [2 /*return*/];
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
};
|
|
166
|
-
RedisSessionStorage.prototype.addKeyToShopList = function (session) {
|
|
167
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
168
|
-
var shopKey, idKey, idKeysArrayString, idKeysArray;
|
|
169
|
-
return tslib_1.__generator(this, function (_a) {
|
|
170
|
-
switch (_a.label) {
|
|
171
|
-
case 0:
|
|
172
|
-
shopKey = session.shop;
|
|
173
|
-
idKey = this.client.generateFullKey(session.id);
|
|
174
|
-
return [4 /*yield*/, this.client.get(shopKey)];
|
|
175
|
-
case 1:
|
|
176
|
-
idKeysArrayString = _a.sent();
|
|
177
|
-
if (!idKeysArrayString) return [3 /*break*/, 4];
|
|
178
|
-
idKeysArray = JSON.parse(idKeysArrayString);
|
|
179
|
-
if (!!idKeysArray.includes(idKey)) return [3 /*break*/, 3];
|
|
180
|
-
idKeysArray.push(idKey);
|
|
181
|
-
return [4 /*yield*/, this.client.set(shopKey, JSON.stringify(idKeysArray))];
|
|
182
|
-
case 2:
|
|
183
|
-
_a.sent();
|
|
184
|
-
_a.label = 3;
|
|
185
|
-
case 3: return [3 /*break*/, 6];
|
|
186
|
-
case 4: return [4 /*yield*/, this.client.set(shopKey, JSON.stringify([idKey]))];
|
|
187
|
-
case 5:
|
|
188
|
-
_a.sent();
|
|
189
|
-
_a.label = 6;
|
|
190
|
-
case 6: return [2 /*return*/];
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
});
|
|
194
|
-
};
|
|
195
|
-
RedisSessionStorage.prototype.removeKeyFromShopList = function (shop, id) {
|
|
196
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
197
|
-
var shopKey, idKey, idKeysArrayString, idKeysArray, index;
|
|
198
|
-
return tslib_1.__generator(this, function (_a) {
|
|
199
|
-
switch (_a.label) {
|
|
200
|
-
case 0:
|
|
201
|
-
shopKey = shop;
|
|
202
|
-
idKey = this.client.generateFullKey(id);
|
|
203
|
-
return [4 /*yield*/, this.client.get(shopKey)];
|
|
204
|
-
case 1:
|
|
205
|
-
idKeysArrayString = _a.sent();
|
|
206
|
-
if (!idKeysArrayString) return [3 /*break*/, 3];
|
|
207
|
-
idKeysArray = JSON.parse(idKeysArrayString);
|
|
208
|
-
index = idKeysArray.indexOf(idKey);
|
|
209
|
-
if (!(index > -1)) return [3 /*break*/, 3];
|
|
210
|
-
idKeysArray.splice(index, 1);
|
|
211
|
-
return [4 /*yield*/, this.client.set(shopKey, JSON.stringify(idKeysArray))];
|
|
212
|
-
case 2:
|
|
213
|
-
_a.sent();
|
|
214
|
-
_a.label = 3;
|
|
215
|
-
case 3: return [2 /*return*/];
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
});
|
|
219
|
-
};
|
|
220
|
-
RedisSessionStorage.prototype.init = function (dbUrl) {
|
|
221
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
222
|
-
return tslib_1.__generator(this, function (_a) {
|
|
223
|
-
switch (_a.label) {
|
|
224
|
-
case 0:
|
|
225
|
-
this.client = new redis_connection_1.RedisConnection(dbUrl, this.options, this.options.sessionKeyPrefix);
|
|
226
|
-
return [4 /*yield*/, this.client.connect()];
|
|
227
|
-
case 1:
|
|
228
|
-
_a.sent();
|
|
229
|
-
return [2 /*return*/];
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
});
|
|
233
|
-
};
|
|
234
|
-
return RedisSessionStorage;
|
|
235
|
-
}());
|
|
236
|
-
exports.RedisSessionStorage = RedisSessionStorage;
|
|
237
|
-
//# sourceMappingURL=redis.js.map
|
package/build/ts/redis.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"redis.js","sourceRoot":"","sources":["../../src/redis.ts"],"names":[],"mappings":";;;;AACA,oDAA6C;AAO7C,2CAA2C;AAC3C,uDAAmD;AACnD,mDAA6D;AAO7D,IAAM,iCAAiC,GAA+B;IACpE,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAA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A3B,SAA2B,CAAC;;;;;KAC7B;IACH,0BAAC;AAAD,CAAC,AA9ID,IA8IC;AA9IY,kDAAmB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|