Changelog
The audience-kit npm package keeps its own version, separate from the Swift and Kotlin SDKs’ VERSION.
The latest releases, newest first.
0.3.0 (2026-11-26)
Section titled “0.3.0 (2026-11-26)”Everything a website, bot or backend job needs, at the level of the PHP SDK, with guides and examples:
- Service tokens:
useServiceToken()trades anakst_…token atPOST /v1/token/servicefor an hour-long session, trades it again a minute before it runs out (once, however many calls ask together) and once more when the API refuses it.useBearerToken()sends an application API key as is.AudienceKitClient.fromEnvironment()readsAUDIENCEKIT_TOKEN,AUDIENCEKIT_BASE_URL,AUDIENCEKIT_HOST,AUDIENCEKIT_AUDIENCE_IDandAUDIENCEKIT_ENVIRONMENT. - Public listings (
public:read):publicListingsPage(),publicListings(),publicListing(kind, id),publicTonight(venueId), andisPublicListing(). community(): the audience, locales, venues, people, upcoming events and event series in one call, a part whose module the audience lacks coming back empty.- Soapbox news:
articles(),articlesPage(),nationalArticles(),article(),articlesAbout(),publications(),localPublications(),publication(),myOpEds()andsubmitOpEd(); empty, not failing, for an audience without Soapbox. - Calendar subscription:
calendarFeed(),createCalendarFeed(),followVenueInCalendar(),deleteCalendarFeed(). - Moderation and the account:
reportContent()(withREPORT_REASONS),blockUser(),unblockUser()anddeleteAccount(). docs/(signing people in, building a website, the reference) andexamples/, which the tests run against a stub API. Both are published on developer.audiencekit.com.
0.2.0 (2026-11-25)
Section titled “0.2.0 (2026-11-25)”Velvet: what a Velvet TV screen that runs JavaScript (Samsung TVs on Tizen) needs.VenueDeviceClientpairs the screen by QR code (startPairing,claimPairing, platformtizen) or a typed code (redeem), keeps the sign-in in the storage it’s given, runs GraphQL on the device’s staff endpoint and follows subscriptions over the API’s Action Cable (GraphQLCable, browser WebSocket, reconnecting).tvBoardandapplyChatEventbuild the board message the Velvet cast receiver draws, ported from the Google TV’stvBoardandTVRoomwith its test cases;Velvet.Queriesholds the screen’s GraphQL, checked against the staff schema.- graphql/staff_schema.graphql updated from the API (adds the
SAMSUNG_TVdisplay kind).
0.1.0 (2026-11-06)
Section titled “0.1.0 (2026-11-06)”First release: the consumer GraphQL API as the Swift and Kotlin SDKs speak it (API contract 2026-10-11), for Node 20+ and TypeScript.
AudienceKitClient: sign in with a Facebook token or OAuth code, Google, Apple or an App Review code; refresh, adopt and end sessions, withonSessionevents; branding; the audience; venues, people, locales, the nearest locale andreportLocation;meandnode; RSVPs; tribes; device registration; cover (passes, buying, paying, confirming, refunding); events, series and a venue’s offers; venue pages; sending and removing chat messages; andgraphQL()anddata()for an app’s own operations and REST calls.- Queries follow the audience’s modules: when the API refuses a field (
undefinedField), the client asks the schema which fields exist and asks again with only those, then remembers the answer. Queries: every document, so apps can reuse the field lists;coverPassCodefor the door’s QR codes; WKT point and theme color parsing. PluggableTokenStoreandHttpTransport(fetch by default).