@baadal-sdk/dapi 0.2.0 → 0.6.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/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/fs/index.d.ts +0 -4
- package/dist/fs/index.js +0 -9
- package/dist/fs/index.js.map +0 -1
- package/dist/index.d.ts +0 -7
package/dist/index.js
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
"
|
|
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"));
|
|
7
|
-
var foo = function () {
|
|
8
|
-
return 'bar';
|
|
9
|
-
};
|
|
10
|
-
exports.default = { fs: fs_1.default, foo: foo };
|
|
1
|
+
var e={d:function(o,r){for(var n in r)e.o(r,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:r[n]})},o:function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{foo:function(){return n},fs:function(){return r}});var r={log:function(){console.log("dapi/fs")}},n=function(){return"bar"},t=exports;for(var u in o)t[u]=o[u];o.__esModule&&Object.defineProperty(t,"__esModule",{value:!0});
|
|
11
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","mappings":"AACA,IAAIA,EAAsB,CCA1BA,EAAwB,SAASC,EAASC,GACzC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EH,EAAwB,SAASS,EAAKC,GAAQ,OAAOL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,ICC/FV,EAAwB,SAASC,GACX,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,M,sECUvD,IAIA,GACEC,IALU,WACVC,QAAQD,IAAI,aCdRE,EAAM,WACV,MAAO,O","sources":["webpack://@baadal-sdk/dapi/webpack/bootstrap","webpack://@baadal-sdk/dapi/webpack/runtime/define property getters","webpack://@baadal-sdk/dapi/webpack/runtime/hasOwnProperty shorthand","webpack://@baadal-sdk/dapi/webpack/runtime/make namespace object","webpack://@baadal-sdk/dapi/./src/fs/index.ts","webpack://@baadal-sdk/dapi/./src/index.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// import uniqueRandomArray from 'unique-random-array';\n\n// const greetList = [\n// 'Hello',\n// 'Hola',\n// 'Ola',\n// 'Bonjour',\n// 'Salut',\n// 'Salve',\n// 'Ciao',\n// 'Halo',\n// 'Namaste',\n// 'Merhaba'\n// ];\n\nconst log = () => {\n console.log('dapi/fs');\n};\n\nexport default {\n log,\n // greet: uniqueRandomArray(greetList)\n};\n","import fs from './fs';\n\nconst foo = () => {\n return 'bar';\n};\n\nexport { fs, foo };\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","log","console","foo"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baadal-sdk/dapi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Dead-simple API wrappers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"build:cjs": "tsc",
|
|
14
14
|
"build:esm": "tsc --module es6 --outDir esm",
|
|
15
15
|
"build:web": "webpack",
|
|
16
|
-
"prepublishOnly": "run-s build:
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"prepublishOnly": "run-s build:web",
|
|
17
|
+
"pub": "npm publish",
|
|
18
|
+
"pub:test": "npm publish --dry-run"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@babel/core": "7.15.5",
|
package/dist/fs/index.d.ts
DELETED
package/dist/fs/index.js
DELETED
package/dist/fs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|