@baadal-sdk/dapi 0.2.0 → 0.3.0

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/dist/fs/index.js CHANGED
@@ -1,9 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  var log = function () {
4
2
  console.log('dapi/fs');
5
3
  };
6
- exports.default = {
4
+ export default {
7
5
  log: log,
8
6
  };
9
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fs/index.ts"],"names":[],"mappings":";;AAeA,IAAM,GAAG,GAAG;IACV,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,kBAAe;IACb,GAAG,KAAA;CAEJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fs/index.ts"],"names":[],"mappings":"AAeA,IAAM,GAAG,GAAG;IACV,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe;IACb,GAAG,KAAA;CAEJ,CAAC"}
package/dist/index.js CHANGED
@@ -1,11 +1,6 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- var fs_1 = __importDefault(require("./fs"));
1
+ import fs from './fs';
7
2
  var foo = function () {
8
3
  return 'bar';
9
4
  };
10
- exports.default = { fs: fs_1.default, foo: foo };
5
+ export default { fs: fs, foo: foo };
11
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4CAAsB;AAEtB,IAAM,GAAG,GAAG;IACV,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,kBAAe,EAAE,EAAE,cAAA,EAAE,GAAG,KAAA,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,IAAM,GAAG,GAAG;IACV,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,EAAE,EAAE,IAAA,EAAE,GAAG,KAAA,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baadal-sdk/dapi",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Dead-simple API wrappers",
5
5
  "main": "dist/index.js",
6
6
  "source": "src/index.ts",
@@ -10,12 +10,12 @@
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
11
11
  "build": "esbuild src/index.ts --bundle --outfile=dist/index.js",
12
12
  "build:prod": "esbuild src/index.ts --bundle --minify --outfile=dist/index.js",
13
- "build:cjs": "tsc",
14
- "build:esm": "tsc --module es6 --outDir esm",
13
+ "build:cjs": "tsc --outDir esm",
14
+ "build:esm": "tsc --module es6",
15
15
  "build:web": "webpack",
16
- "prepublishOnly": "run-s build:cjs",
17
- "publish": "npm publish",
18
- "publish:test": "npm publish --dry-run"
16
+ "prepublishOnly": "run-s build:esm",
17
+ "pub": "npm publish",
18
+ "pub:test": "npm publish --dry-run"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@babel/core": "7.15.5",