@logto/vue 0.1.8 → 0.1.9
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/lib/index.d.ts +2 -1
- package/lib/index.js +3 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IdTokenClaims, LogtoConfig, UserInfoResponse } from '@logto/browser';
|
|
2
2
|
import { App, Ref } from 'vue';
|
|
3
|
-
export type { LogtoConfig, IdTokenClaims, UserInfoResponse,
|
|
3
|
+
export type { LogtoConfig, IdTokenClaims, UserInfoResponse, LogtoClientErrorCode, } from '@logto/browser';
|
|
4
|
+
export { LogtoClientError } from '@logto/browser';
|
|
4
5
|
declare type LogtoVuePlugin = {
|
|
5
6
|
install: (app: App, config: LogtoConfig) => void;
|
|
6
7
|
};
|
package/lib/index.js
CHANGED
|
@@ -3,12 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useHandleSignInCallback = exports.useLogto = exports.createLogto = void 0;
|
|
6
|
+
exports.useHandleSignInCallback = exports.useLogto = exports.createLogto = exports.LogtoClientError = void 0;
|
|
7
7
|
const browser_1 = __importDefault(require("@logto/browser"));
|
|
8
8
|
const vue_1 = require("vue");
|
|
9
9
|
const consts_1 = require("./consts");
|
|
10
10
|
const context_1 = require("./context");
|
|
11
11
|
const plugin_1 = require("./plugin");
|
|
12
|
+
var browser_2 = require("@logto/browser");
|
|
13
|
+
Object.defineProperty(exports, "LogtoClientError", { enumerable: true, get: function () { return browser_2.LogtoClientError; } });
|
|
12
14
|
/**
|
|
13
15
|
* Creates the Logto Vue plugin
|
|
14
16
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"exports": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "1626687c201a0842a1a3e9badd2668ba0ed1b363"
|
|
65
65
|
}
|