@instantdb/core
Advanced tools
Comparing version 0.5.9 to 0.5.10
@@ -13,2 +13,3 @@ import { assert } from "./utils/error"; | ||
apiURI?: string; | ||
__dev__adminToken?: string; | ||
}; | ||
@@ -15,0 +16,0 @@ declare function init(config: Config, Storage?: any, NetworkListener?: any): any; |
@@ -13,2 +13,3 @@ import { assert } from "./utils/error"; | ||
apiURI?: string; | ||
__dev__adminToken?: string; | ||
}; | ||
@@ -15,0 +16,0 @@ declare function init(config: Config, Storage?: any, NetworkListener?: any): any; |
@@ -192,3 +192,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
"app-id": this.config.appId, | ||
"refresh-token": currentUser === null || currentUser === void 0 ? void 0 : currentUser["refresh_token"] | ||
"refresh-token": currentUser === null || currentUser === void 0 ? void 0 : currentUser["refresh_token"], | ||
"admin-token": this.config.__dev__adminToken, | ||
}); | ||
@@ -195,0 +196,0 @@ }); |
@@ -220,3 +220,4 @@ "use strict"; | ||
"app-id": this.config.appId, | ||
"refresh-token": currentUser === null || currentUser === void 0 ? void 0 : currentUser["refresh_token"] | ||
"refresh-token": currentUser === null || currentUser === void 0 ? void 0 : currentUser["refresh_token"], | ||
"admin-token": this.config.__dev__adminToken, | ||
}); | ||
@@ -223,0 +224,0 @@ }); |
{ | ||
"name": "@instantdb/core", | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -24,2 +24,3 @@ import { assert } from "./utils/error"; | ||
apiURI?: string; | ||
__dev__adminToken?: string; | ||
}; | ||
@@ -26,0 +27,0 @@ |
@@ -622,3 +622,4 @@ import log from "./utils/log"; | ||
"app-id": this.config.appId, | ||
"refresh-token": currentUser?.["refresh_token"] | ||
"refresh-token": currentUser?.["refresh_token"], | ||
"admin-token": this.config.__dev__adminToken, | ||
}); | ||
@@ -625,0 +626,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1339234
28182