Commit Graph

110 Commits

Author SHA1 Message Date
Alexander Cerutti
0b439d299e Added early termination if passModel is not specified 2023-07-30 00:11:02 +02:00
Alexander Cerutti
2a4e21ac12 Changed how body params are defined to prevent build issues with internals 2023-07-30 00:07:13 +02:00
Alexander Cerutti
fb6e6739b5 Fixed exports and compiled function to ESM 2023-07-29 23:58:49 +02:00
Alexander Cerutti
f2442fc4ce Converted project to Typescript 2023-07-29 19:31:05 +02:00
Alexander Cerutti
99f1dddef1 Fixed index 2023-07-29 13:42:31 +02:00
Alexander Cerutti
58c7e11d7a Fixed checks on currentPassType 2023-07-29 13:39:20 +02:00
Alexander Cerutti
173acb30cb Reformatted firebase.json 2023-07-29 00:34:21 +02:00
Alexander Cerutti
9016f442f1 Added .env file and certificates through variables 2023-07-29 00:34:13 +02:00
Alexander Cerutti
84a2b85911 Upgraded firebase deps 2023-07-29 00:19:36 +02:00
Alexander Cerutti
6bcf62ffc5 Added firebase-tools to devDependencies and changed all the commands to use npx firebase 2023-07-29 00:17:01 +02:00
Alexander Cerutti
8f3a07d483 Changed structure of example to follow the firebase provided one 2023-07-29 00:13:48 +02:00
Alexander Cerutti
b548d42079 Removed forEach for normal for statements 2023-07-28 23:39:46 +02:00
Alexander Cerutti
9a6daebaa4 Fixed a few things in example 2023-07-28 23:26:15 +02:00
Alexander Cerutti
3089ee3943 Fixed dependencies 2023-07-28 23:22:45 +02:00
Alexander Cerutti
4dbd053ca3 Fixed code to run on tabs 2023-07-28 23:19:42 +02:00
Alexander Cerutti
7aac248130 Updated firebase's package-lock.json 2023-07-28 23:17:26 +02:00
Saim Khan
93932d4159 Small fixes from PR
Added peer dependency, scripts to package.json, and added error logs, removed webServiceURL and auth token
2023-07-18 17:54:13 +01:00
Saim Khan
70859ae5a2 Added firebase example 2023-07-18 13:01:22 +01:00
Alexander Cerutti
c8db7a204b Fixed mimetype in serverless example 2023-07-04 20:06:55 +02:00
Alexander Cerutti
4ef2d46413 Set serverless examples to return directly the pass instead of uploading them on S3 2023-07-04 20:05:51 +02:00
Alexander Cerutti
e9fcf4b95b Fixed unrunnable serverless example 2023-07-04 19:59:20 +02:00
Alexander Cerutti
036e4753c4 Added auxiliaryFields rows in examplePass model 2022-11-12 00:20:56 +01:00
Alexander Cerutti
1900a29d39 Dependencies update 2022-03-28 22:00:21 +02:00
Alexander Cerutti
46d754e8a1 Dependecies update 2022-03-13 13:35:06 +01:00
Alexander Cerutti
cd35a6c61b Updated examples dependencies 2022-02-22 22:56:24 +01:00
Alexander Cerutti
0f54aef7c8 Merge branch 'example/cloudflare_worker' 2022-02-07 20:49:13 +01:00
Alexander Cerutti
a15dc29290 Added explicit Buffer import declarations 2022-02-07 01:18:06 +01:00
Alexander Cerutti
ad10c8251b Updated examples dependencies 2022-02-06 02:19:48 +01:00
Alexander Cerutti
506f1359d2 Changed examples passkit-generator linking commands 2022-02-06 02:06:00 +01:00
Alexander Cerutti
693402ee2a Changed Readme of wrangler example 2022-02-05 23:24:24 +01:00
Alexander Cerutti
c734464f36 Added Cloudflare Worker example running on Webpack 5 2022-02-05 23:24:08 +01:00
Alexander Cerutti
ff76d0717c Added wrangler explicit buffer import 2022-02-05 22:58:06 +01:00
Alexander Cerutti
6687e4fbb2 Updated wrangler example package-lock 2022-02-05 22:57:49 +01:00
Alexander Cerutti
3b513095c0 Changed passkit-generator linking script on install to avoid wrong version being linked 2022-02-05 22:47:53 +01:00
Alexander Cerutti
2586e5dea3 Added documentation for cloudflare wrangler example 2022-02-04 00:04:47 +01:00
Alexander Cerutti
de02fed79e Removed unused envs 2022-02-03 23:43:35 +01:00
Alexander Cerutti
ec7bae51b6 Added 0.0.0.0 ip to example command 2022-02-03 22:02:44 +01:00
Alexander Cerutti
c7b4105ae9 Added terser-webpack-plugin 2022-02-03 22:02:38 +01:00
Alexander Cerutti
788c400850 Added first working example of Cloudflare Worker integration through wrangler and Webpack 4 2022-02-03 21:13:08 +01:00
Alexander Cerutti
2969a75727 Regenerated example self-hosted package-lock.json 2022-01-16 00:58:15 +01:00
Alexander Cerutti
37a35dd76f Fixed broken pkpasses extension for serverless example 2022-01-16 00:48:10 +01:00
Alexander Cerutti
0df8423e6d Fixed serverless model reading .pass extensions issues 2022-01-16 00:48:10 +01:00
Alexander Cerutti
4fd4e1ab50 Fixed Serverless offline contents paths 2022-01-16 00:48:10 +01:00
Alexander Cerutti
908af1089a Updated Serverless dependencies 2022-01-16 00:48:10 +01:00
Alexander Cerutti
ccc781fccd Renamed Serverless example startup command to example instead of run-offline 2022-01-16 00:48:01 +01:00
Alexander Cerutti
0a18c5200d Fixed Serverless examples: they were not returning 400 if model name was not provided 2022-01-15 23:56:40 +01:00
Alexander Cerutti
ecdfca9696 Updated examples dependencies 2022-01-15 17:12:09 +01:00
Alexander Cerutti
003bcbec28 Fixed un-highlighted endpoint name for self-hosted 2022-01-15 17:01:04 +01:00
Alexander Cerutti
8c39928f0c Added check on boardingPass in examples to not make crash the request if we are creating a boarding pass 2021-12-30 13:31:22 +01:00
Alexander Cerutti
2923eb4d66 Changed quotes and applied change to PKPass.from (which uses internals-like to read model) 2021-12-27 19:34:00 +01:00