mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Readme: fixed description for certificates
This commit is contained in:
@@ -121,7 +121,7 @@ This is a standard procedure: you would have to do it also without using this li
|
|||||||
import { PKPass } from "passkit-generator";
|
import { PKPass } from "passkit-generator";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
/** Each can be either a string or a Buffer. See API Documentation for more */
|
/** Each, but last, can be either a string or a Buffer. See API Documentation for more */
|
||||||
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
||||||
|
|
||||||
const pass = await PKPass.from({
|
const pass = await PKPass.from({
|
||||||
@@ -164,7 +164,7 @@ try {
|
|||||||
import { PKPass } from "passkit-generator";
|
import { PKPass } from "passkit-generator";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
/** Each can be either a string or a Buffer. See API Documentation for more */
|
/** Each, but last, can be either a string or a Buffer. See API Documentation for more */
|
||||||
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
||||||
|
|
||||||
const examplePass = new PKPass({
|
const examplePass = new PKPass({
|
||||||
|
|||||||
Reference in New Issue
Block a user