@livecycle/sdk
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -1,1 +0,1 @@ | ||
export { default as LivecycleSdk } from './sdk'; | ||
export { default as LivecycleSdk } from "./sdk"; |
"use strict"; | ||
(() => { | ||
var LivecycleSdk = (() => { | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/sdk/index.ts | ||
var sdk_exports = {}; | ||
__export(sdk_exports, { | ||
default: () => sdk_default | ||
}); | ||
// src/sdk/script-loader.ts | ||
@@ -63,2 +87,3 @@ var injectAgentScript = (doc) => (dep) => { | ||
var sdk_default = Livecycle; | ||
return __toCommonJS(sdk_exports); | ||
})(); |
{ | ||
"name": "@livecycle/sdk", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "livecycle sdk", | ||
@@ -34,3 +34,3 @@ "author": "livecycle", | ||
"scripts": { | ||
"build": "esbuild ./src/sdk/index.ts --bundle --outfile=./dist/index.js && tsc --emitDeclarationOnly", | ||
"build": "esbuild ./src/sdk/index.ts --bundle --outfile=./dist/index.js --global-name=LivecycleSdk && tsc --emitDeclarationOnly", | ||
"lint": "eslint . --ext .ts --config .eslintrc", | ||
@@ -37,0 +37,0 @@ "posttest": "yarn lint", |
7310
105