@1001-digital/components 1.2.1 → 1.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1001-digital/components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -69,7 +69,7 @@
69
69
  </Button>
70
70
  <Button
71
71
  v-if="inAppConnector"
72
- @click="showInAppSetup = true"
72
+ @click="() => { emit('connecting'); showInAppSetup = true }"
73
73
  class="block choose-connector"
74
74
  >
75
75
  <img
@@ -127,6 +127,7 @@ const PRIORITY: Record<string, number> = {
127
127
  }
128
128
 
129
129
  const emit = defineEmits<{
130
+ connecting: []
130
131
  connected: []
131
132
  }>()
132
133
 
@@ -179,6 +180,7 @@ const loginWithSafe = () => {
179
180
  }
180
181
 
181
182
  const login = async (connector: Connector) => {
183
+ emit('connecting')
182
184
  errorMessage.value = ''
183
185
  isConnecting.value = true
184
186
  connectingWallet.value = safeDeepLink.value ? 'Safe' : connector.name