50p82u21t54k 0.0.0 → 0.0.2

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.
@@ -1,18 +1,19 @@
1
- async function r(t) {
2
- return t;
1
+ let t = "";
2
+ function s(n) {
3
+ t = n;
3
4
  }
4
- let e = "";
5
- function a(t) {
6
- e = t;
5
+ function a() {
6
+ return t;
7
7
  }
8
- const i = {
9
- install(t, n) {
10
- a(n.baseURL), t.config.globalProperties.$library = {
11
- getProduct: () => r(e)
12
- };
8
+ const r = {
9
+ install(n, e) {
10
+ s(e.baseURL);
13
11
  }
14
12
  };
13
+ async function u() {
14
+ return a();
15
+ }
15
16
  export {
16
- r as getProduct,
17
- i as libraryPlugin
17
+ u as getProduct,
18
+ r as libraryPlugin
18
19
  };
@@ -1 +1 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["50p82u21t54k"]={}))})(this,function(e){"use strict";async function t(n){return n}let i="";function o(n){i=n}const u={install(n,f){o(f.baseURL),n.config.globalProperties.$library={getProduct:()=>t(i)}}};e.getProduct=t,e.libraryPlugin=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["50p82u21t54k"]={}))})(this,function(e){"use strict";let t="";function i(n){t=n}function u(){return t}const o={install(n,s){i(s.baseURL)}};async function f(){return u()}e.getProduct=f,e.libraryPlugin=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
package/dist/plugin.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  import { App } from 'vue';
2
2
 
3
- export declare function setBaseURL(url: string): void;
4
3
  export declare function getBaseURL(): string;
5
4
  declare const _default: {
6
- install(app: App, options: {
5
+ install(_: App, options: {
7
6
  baseURL: string;
8
7
  }): void;
9
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAKzB,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAE5C;AAED,wBAAgB,UAAU,IAAI,MAAM,CAEnC;;iBAGc,GAAG,WAAW;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;;AADhD,wBAOC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAQzB,wBAAgB,UAAU,IAAI,MAAM,CAEnC;;eAGY,GAAG,WAAW;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;;AAD9C,wBAIC"}
@@ -1,2 +1,2 @@
1
- export declare function getProduct(baseURL: string): Promise<string>;
1
+ export declare function getProduct(): Promise<string>;
2
2
  //# sourceMappingURL=method.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/products/method.ts"],"names":[],"mappings":"AAAA,wBAAsB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEjE"}
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/products/method.ts"],"names":[],"mappings":"AAEA,wBAAsB,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,CAElD"}
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "50p82u21t54k",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "description": "A description of your library",
5
- "main": "dist/index.js",
5
+ "main": "dist/50p82u21t54k.umd.js",
6
+ "module": "dist/50p82u21t54k.es.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "files": [
8
9
  "dist"