@ozdao/prometheus-framework 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -167,18 +167,13 @@ const initAppleSignIn = () => {
167
167
  return;
168
168
  }
169
169
 
170
- let scope = 'email'; // Укажите необходимые scope
171
- let state = '123';
172
- let usePopup = true; // Использовать попап или нет
173
-
174
170
  window.AppleID.auth.init({
175
- clientId,
176
- scope,
177
- redirectURI,
178
- state,
179
- usePopup
180
- });
181
-
171
+ clientId: clientId,
172
+ scope: 'name email',
173
+ redirectURI: redirectURI,
174
+ state: 'lilylsunisabigsb',
175
+ usePopup: true,
176
+ })
182
177
  document.addEventListener('AppleIDSignInOnSuccess', callOnSuccess);
183
178
  document.addEventListener('AppleIDSignInOnFailure', callOnFailure);
184
179
  };