@followgate/js 0.15.0 → 0.15.1

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/dist/index.js CHANGED
@@ -1086,7 +1086,7 @@ var FollowGateClient = class {
1086
1086
  verifyText = "Verifying repost";
1087
1087
  }
1088
1088
  content.innerHTML = `
1089
- <div style="display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 4px;">
1089
+ <div style="display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px;">
1090
1090
  <span style="color: #4ade80; width: 28px; height: 28px;">${ICONS.check}</span>
1091
1091
  <h2 class="fg-title" style="margin: 0;">${this.escapeHtml(successTitle)}</h2>
1092
1092
  </div>
@@ -1103,14 +1103,20 @@ var FollowGateClient = class {
1103
1103
  </div>
1104
1104
  ` : ""}
1105
1105
  </div>
1106
- <p class="fg-verify-hint">Verification may take some time</p>
1107
- <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 8px 0 16px; text-align: center;">Access may be revoked if actions are not completed.</p>
1106
+ <div style="text-align: center; margin: 8px 0;">
1107
+ <p style="color: #4ade80; font-size: 13px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px;">
1108
+ <span style="width: 14px; height: 14px;">${ICONS.check}</span>
1109
+ Access granted
1110
+ </p>
1111
+ <p class="fg-verify-hint" style="margin: 4px 0 0;">Final verification may take some time</p>
1112
+ </div>
1113
+ <p style="color: rgba(250, 204, 21, 0.6); font-size: 11px; margin: 16px 0 20px; text-align: center;">Access may be revoked if actions are not completed.</p>
1108
1114
  <button class="fg-btn fg-btn-green" id="fg-finish-btn">
1109
1115
  ${ICONS.check}
1110
1116
  Got it \u2014 Continue
1111
1117
  </button>
1112
1118
  ${hasFollow || hasRepost ? `
1113
- <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 12px 0 6px; text-align: center;">Missed something? Open again:</p>
1119
+ <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 24px 0 6px; text-align: center;">Missed something? Open again:</p>
1114
1120
  <div class="fg-btn-row">
1115
1121
  ${hasFollow ? `
1116
1122
  <button class="fg-btn fg-btn-secondary" id="fg-redo-follow">
package/dist/index.mjs CHANGED
@@ -1060,7 +1060,7 @@ var FollowGateClient = class {
1060
1060
  verifyText = "Verifying repost";
1061
1061
  }
1062
1062
  content.innerHTML = `
1063
- <div style="display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 4px;">
1063
+ <div style="display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px;">
1064
1064
  <span style="color: #4ade80; width: 28px; height: 28px;">${ICONS.check}</span>
1065
1065
  <h2 class="fg-title" style="margin: 0;">${this.escapeHtml(successTitle)}</h2>
1066
1066
  </div>
@@ -1077,14 +1077,20 @@ var FollowGateClient = class {
1077
1077
  </div>
1078
1078
  ` : ""}
1079
1079
  </div>
1080
- <p class="fg-verify-hint">Verification may take some time</p>
1081
- <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 8px 0 16px; text-align: center;">Access may be revoked if actions are not completed.</p>
1080
+ <div style="text-align: center; margin: 8px 0;">
1081
+ <p style="color: #4ade80; font-size: 13px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px;">
1082
+ <span style="width: 14px; height: 14px;">${ICONS.check}</span>
1083
+ Access granted
1084
+ </p>
1085
+ <p class="fg-verify-hint" style="margin: 4px 0 0;">Final verification may take some time</p>
1086
+ </div>
1087
+ <p style="color: rgba(250, 204, 21, 0.6); font-size: 11px; margin: 16px 0 20px; text-align: center;">Access may be revoked if actions are not completed.</p>
1082
1088
  <button class="fg-btn fg-btn-green" id="fg-finish-btn">
1083
1089
  ${ICONS.check}
1084
1090
  Got it \u2014 Continue
1085
1091
  </button>
1086
1092
  ${hasFollow || hasRepost ? `
1087
- <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 12px 0 6px; text-align: center;">Missed something? Open again:</p>
1093
+ <p style="color: rgba(255,255,255,0.4); font-size: 11px; margin: 24px 0 6px; text-align: center;">Missed something? Open again:</p>
1088
1094
  <div class="fg-btn-row">
1089
1095
  ${hasFollow ? `
1090
1096
  <button class="fg-btn fg-btn-secondary" id="fg-redo-follow">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@followgate/js",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "FollowGate SDK - Grow your audience with every download. Require social actions (follow, repost) before users can access your app.",
5
5
  "author": "FollowGate <hello@followgate.app>",
6
6
  "homepage": "https://followgate.app",