tamtamchik / apple-iap-tools Goto Github PK
View Code? Open in Web Editor NEWTypes and verifyReceipt function for Apple in-app purchases and server notifications.
License: MIT License
Types and verifyReceipt function for Apple in-app purchases and server notifications.
License: MIT License
Thanks for helping us save some time with this package! <3 @tamtamchik
Just so you know, link in the side bar of https://tamtamchika.net/apple-iap-tools/modules.html for ServerNotificationResponseBody
goes to https://tamtamchika.net/apple-iap-tools/interfaces/ServerNotificationResponseBody.html which is a 404.
The correct one seems to be https://tamtamchika.net/apple-iap-tools/interfaces/servernotificationresponsebody.html which is entirely-lowercase version of that.
It's the same situation for most of them.
Thanks!
Attempting to use this module from Node.js doesn't seem to work, as extensionless imports aren't supported.
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/colin/ait-tr/node_modules/@tamtamchik/apple-iap-tools/dist/ExpirationIntent' imported from /home/colin/ait-tr/node_modules/@tamtamchik/apple-iap-tools/dist/index.js
at finalizeResolution (internal/modules/esm/resolve.js:276:11)
at moduleResolve (internal/modules/esm/resolve.js:699:10)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
From what I can tell, the official solution to this is to use .js
extensions in imports (see microsoft/TypeScript#16577)
Thank you for this! I assume this is based on SNS 1 right?
Any plan for 2nd version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.