lucid-package 0.0.77 → 0.0.78
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/package.json
CHANGED
package/src/packagemanifest.d.ts
CHANGED
package/src/packagemanifest.js
CHANGED
|
@@ -124,6 +124,9 @@ function validateManifestOrThrow(manifest) {
|
|
|
124
124
|
if (!(0, lucid_extension_sdk_1.isString)(provider['tokenUrl'])) {
|
|
125
125
|
throw new Error('manifest.json: OAuth provider "tokenUrl" must be a string');
|
|
126
126
|
}
|
|
127
|
+
if (provider['refreshTokenUrl'] && !(0, lucid_extension_sdk_1.isString)(provider['refreshTokenUrl'])) {
|
|
128
|
+
throw new Error('manifest.json: OAuth provider "refreshTokenUrl" must be a string');
|
|
129
|
+
}
|
|
127
130
|
if (!(0, lucid_extension_sdk_1.isTypedArray)(lucid_extension_sdk_1.isString)(provider['scopes'])) {
|
|
128
131
|
throw new Error('manifest.json: OAuth provider "scopes" must be a string array');
|
|
129
132
|
}
|