@enplug/sdk-dashboard
Advanced tools
Comparing version 5.0.0-dev.5 to 5.0.0-dev.6
@@ -529,2 +529,3 @@ var enplug = | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var TAG = "[Dashboard SDK]"; | ||
var Bridge = /** @class */ (function (_super) { | ||
@@ -537,2 +538,3 @@ __extends(Bridge, _super); | ||
_this.postMessage = function (msg) { return window.postMessage(msg, '*'); }; | ||
console.log(TAG + " Creating Dashboard SDK"); | ||
return _this; | ||
@@ -982,7 +984,4 @@ } | ||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__(/*! ./account */ "./src/account.ts"), __webpack_require__(/*! ./bridge/bridge */ "./src/bridge/bridge.ts"), __webpack_require__(/*! ./dashboard */ "./src/dashboard.ts"), __webpack_require__(/*! ./social */ "./src/social.ts"), __webpack_require__(/*! ./exported-types */ "./src/exported-types.ts")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, account_1, bridge_1, dashboard_1, social_1, exported_types_1) { | ||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__(/*! ./account */ "./src/account.ts"), __webpack_require__(/*! ./bridge/bridge */ "./src/bridge/bridge.ts"), __webpack_require__(/*! ./dashboard */ "./src/dashboard.ts"), __webpack_require__(/*! ./social */ "./src/social.ts")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, account_1, bridge_1, dashboard_1, social_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -1000,3 +999,2 @@ function createDashboardSDK() { | ||
exports.default = createDashboardSDK(); | ||
__export(exported_types_1); | ||
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), | ||
@@ -1015,6 +1013,3 @@ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); | ||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** | ||
* Internal types, not to be re-exported. | ||
*/ | ||
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports) { | ||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports) { | ||
"use strict"; | ||
@@ -1021,0 +1016,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.0.0-dev.5", | ||
"version": "5.0.0-dev.6", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
import { BridgeBase } from './bridge-base'; | ||
import { OutboundMessage } from '../internal-types'; | ||
const TAG = `[Dashboard SDK]`; | ||
export class Bridge extends BridgeBase { | ||
@@ -12,2 +14,3 @@ | ||
this.postMessage = (msg) => window.postMessage(msg, '*'); | ||
console.log(`${TAG} Creating Dashboard SDK`); | ||
} | ||
@@ -14,0 +17,0 @@ |
import { EnplugDashboardSDK } from '.'; | ||
declare const enplug: EnplugDashboardSDK; | ||
declare const enplug: EnplugDashboardSDK; | ||
export * from './exported-types'; |
@@ -34,2 +34,1 @@ import { Account } from './account'; | ||
export default createDashboardSDK(); | ||
export * from './exported-types'; |
/** | ||
* Internal types, not to be re-exported. | ||
*/ | ||
export interface InboundMessage { | ||
@@ -6,0 +5,0 @@ /** |
Sorry, the diff of this file is not supported yet
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
190509
2873