diff --git a/examples/vue-example/package-lock.json b/examples/vue-example/package-lock.json
index 98e703e8..8f1af82e 100644
--- a/examples/vue-example/package-lock.json
+++ b/examples/vue-example/package-lock.json
@@ -48,14 +48,14 @@
},
"../../packages/openlogin": {
"name": "@toruslabs/openlogin",
- "version": "5.0.1",
+ "version": "5.0.3",
"license": "ISC",
"dependencies": {
"@toruslabs/broadcast-channel": "^8.0.0",
"@toruslabs/eccrypto": "^4.0.0",
"@toruslabs/metadata-helpers": "^5.0.0",
"@toruslabs/openlogin-session-manager": "^3.0.0",
- "@toruslabs/openlogin-utils": "^5.0.0",
+ "@toruslabs/openlogin-utils": "^5.0.2",
"bowser": "^2.11.0",
"events": "^3.3.0",
"loglevel": "^1.8.1",
@@ -86,11 +86,11 @@
},
"../../packages/openlogin-jrpc": {
"name": "@toruslabs/openlogin-jrpc",
- "version": "5.0.0",
+ "version": "5.0.2",
"license": "ISC",
"dependencies": {
- "@metamask/rpc-errors": "^5.1.1",
- "@toruslabs/openlogin-utils": "^5.0.0",
+ "@metamask/rpc-errors": "^6.0.0",
+ "@toruslabs/openlogin-utils": "^5.0.2",
"end-of-stream": "^1.4.4",
"events": "^3.3.0",
"fast-safe-stringify": "^2.1.1",
@@ -100,9 +100,9 @@
},
"devDependencies": {
"@types/end-of-stream": "^1.4.1",
- "@types/once": "^1.4.0",
+ "@types/once": "^1.4.1",
"@types/pump": "^1.1.1",
- "@types/readable-stream": "^4.0.1"
+ "@types/readable-stream": "^4.0.2"
},
"engines": {
"node": ">=18.x",
@@ -132,10 +132,10 @@
},
"../../packages/openlogin-utils": {
"name": "@toruslabs/openlogin-utils",
- "version": "5.0.0",
+ "version": "5.0.2",
"license": "ISC",
"dependencies": {
- "@toruslabs/constants": "^13.0.0",
+ "@toruslabs/constants": "^13.0.1",
"base64url": "^3.0.1"
},
"engines": {
@@ -148,12 +148,12 @@
},
"../../packages/wrapper": {
"name": "openlogin",
- "version": "5.0.1",
+ "version": "5.0.3",
"license": "ISC",
"dependencies": {
- "@toruslabs/openlogin": "^5.0.1",
- "@toruslabs/openlogin-jrpc": "^5.0.0",
- "@toruslabs/openlogin-utils": "^5.0.0"
+ "@toruslabs/openlogin": "^5.0.3",
+ "@toruslabs/openlogin-jrpc": "^5.0.2",
+ "@toruslabs/openlogin-utils": "^5.0.2"
},
"engines": {
"node": ">=18.x",
diff --git a/examples/vue-example/src/App.vue b/examples/vue-example/src/App.vue
index 67c6758e..1912ae80 100644
--- a/examples/vue-example/src/App.vue
+++ b/examples/vue-example/src/App.vue
@@ -10,6 +10,9 @@
+
@@ -105,6 +108,7 @@ import {
UX_MODE_TYPE,
OPENLOGIN_NETWORK,
OPENLOGIN_NETWORK_TYPE,
+ BUILD_ENV,
} from "@toruslabs/openlogin-utils";
import loginConfig from "./lib/loginConfig";
@@ -132,7 +136,9 @@ export default defineComponent({
UX_MODE: UX_MODE,
selectedUxMode: UX_MODE.REDIRECT as UX_MODE_TYPE,
OPENLOGIN_NETWORK: OPENLOGIN_NETWORK,
+ BUILD_ENV: BUILD_ENV,
selectedOpenloginNetwork: OPENLOGIN_NETWORK.SAPPHIRE_DEVNET as OPENLOGIN_NETWORK_TYPE,
+ selectedBuildEnv: BUILD_ENV.PRODUCTION,
};
},
async created() {
@@ -173,7 +179,7 @@ export default defineComponent({
uxMode: this.selectedUxMode,
whiteLabel: this.isWhiteLabelEnabled ? whitelabel : {},
loginConfig: loginConfig,
- buildEnv: "testing",
+ buildEnv: this.selectedBuildEnv,
// sdkUrl: "https://staging.openlogin.com",
});
op.init();