@3dverse/api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +55 -0
- package/dist/{_prebuild/wrapper.js → index.cjs.js} +158 -144
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +954 -3
- package/dist/index.esm.js +621 -0
- package/dist/index.esm.js.map +1 -0
- package/index.ts +5 -0
- package/package.json +12 -3
- package/dist/_prebuild/wrapper.d.ts +0 -946
- package/dist/_prebuild/wrapper.js.map +0 -1
- package/dist/index.js +0 -34
- package/dist/index.js.map +0 -1
- package/tsconfig.json +0 -9
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"wrapper.js","sourceRoot":"","sources":["../../_prebuild/wrapper.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;AAEH,4EAA4E;AAC5E,kDAA0B;AAE1B,4EAA4E;AAC/D,QAAA,aAAa,GAAG,mBAAmB,EAAE,CAAC;AAOlD,CAAC;AAEF,gFAAgF;AAChF,SAAS,mBAAmB;IAExB,MAAM,aAAa,GAAG,eAAK,CAAC,MAAM,CAAC;QAC/B,OAAO,EAAE,4BAA4B;KACxC,CAAC,CAAC;IAEH,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CACnC,kBAAkB,CAAC,EAAE;QAEjB,IAAG,kBAAkB,CAAC,MAAM,CAAC,YAAY,KAAK,QAAQ,EACtD;YACI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAChC,kBAAkB,CAAC,IAAI,CAAC,mBAAmB,GAAO,kBAAkB,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;YAC7F,kBAAkB,CAAC,IAAI,CAAC,qBAAqB,GAAK,kBAAkB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;YAC/F,kBAAkB,CAAC,IAAI,CAAC,cAAc,GAAY,kBAAkB,CAAC,MAAM,CAAC;SAC/E;QAED,OAAO,kBAAkB,CAAC,IAAI,CAAC;IACnC,CAAC,EACD,UA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AQ;QAChB,GAAG,EAAE,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,EAAE;KAChE,CAAC,CAAC;AACP,CAAC;AAdD,sDAcC"}
|
package/dist/index.js
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.setUserToken = exports.setApiKey = void 0;
|
18
|
-
//--------------------------------------------------------------------------
|
19
|
-
const wrapper_1 = require("./_prebuild/wrapper");
|
20
|
-
//------------------------------------------------------------------------------
|
21
|
-
function setApiKey(apiKey) {
|
22
|
-
wrapper_1.axiosInstance.defaults.headers.common['api_key'] = apiKey;
|
23
|
-
delete wrapper_1.axiosInstance.defaults.headers.common['user_token'];
|
24
|
-
}
|
25
|
-
exports.setApiKey = setApiKey;
|
26
|
-
//------------------------------------------------------------------------------
|
27
|
-
function setUserToken(userToken) {
|
28
|
-
wrapper_1.axiosInstance.defaults.headers.common['user_token'] = userToken;
|
29
|
-
delete wrapper_1.axiosInstance.defaults.headers.common['api_key'];
|
30
|
-
}
|
31
|
-
exports.setUserToken = setUserToken;
|
32
|
-
//------------------------------------------------------------------------------
|
33
|
-
__exportStar(require("./_prebuild/wrapper"), exports);
|
34
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4EAA4E;AAC5E,iDAAoD;AAEpD,gFAAgF;AAChF,SAAgB,SAAS,CAAC,MAAe;IAErC,uBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;IAC1D,OAAO,uBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAC/D,CAAC;AAJD,8BAIC;AAED,gFAAgF;AAChF,SAAgB,YAAY,CAAC,SAAkB;IAE3C,uBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IAChE,OAAO,uBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAC5D,CAAC;AAJD,oCAIC;AAED,gFAAgF;AAChF,sDAAoC"}
|