@shoutem/api-sdk
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -53,6 +53,6 @@ 'use strict'; | ||
var resolvedConfig = _extends({}, this.config, config); | ||
var extensionId = resolvedConfig.extensionId; | ||
var extensionInstallationId = resolvedConfig.extensionInstallationId; | ||
var get = this.resource.get({ extensionId: extensionId }); | ||
var get = this.resource.get({ extensionInstallationId: extensionInstallationId }); | ||
return (0, _resources.fetchResource)(get).then(function (response) { | ||
@@ -79,3 +79,3 @@ return response.json(); | ||
var resolvedConfig = _extends({}, this.config, config); | ||
var extensionId = resolvedConfig.extensionId; | ||
var extensionInstallationId = resolvedConfig.extensionInstallationId; | ||
@@ -86,7 +86,7 @@ | ||
type: _resources.EXTENSIONS, | ||
id: extensionId | ||
id: extensionInstallationId | ||
}, patch) | ||
}; | ||
var update = this.resource.update({ extensionId: extensionId }); | ||
var update = this.resource.update({ extensionInstallationId: extensionInstallationId }); | ||
return (0, _resources.fetchResource)(update, { body: JSON.stringify(body) }); | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "@shoutem/api-sdk", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Javascript SDK for Shoutem API using fetch", | ||
@@ -5,0 +5,0 @@ "main": "build/lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30791