@f-o-t/ofx 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -444,29 +444,6 @@ var ofxDocumentSchema = z.object({
444
444
  header: ofxHeaderSchema,
445
445
  OFX: ofxResponseSchema
446
446
  });
447
- var schemas = {
448
- accountType: accountTypeSchema,
449
- balance: balanceSchema,
450
- bankAccount: bankAccountSchema,
451
- bankMessageSetResponse: bankMessageSetResponseSchema,
452
- bankStatementResponse: bankStatementResponseSchema,
453
- bankStatementTransactionResponse: bankStatementTransactionResponseSchema,
454
- creditCardAccount: creditCardAccountSchema,
455
- creditCardMessageSetResponse: creditCardMessageSetResponseSchema,
456
- creditCardStatementResponse: creditCardStatementResponseSchema,
457
- creditCardStatementTransactionResponse: creditCardStatementTransactionResponseSchema,
458
- financialInstitution: financialInstitutionSchema,
459
- ofxDate: ofxDateSchema,
460
- ofxDocument: ofxDocumentSchema,
461
- ofxHeader: ofxHeaderSchema,
462
- ofxResponse: ofxResponseSchema,
463
- signOnMessageSetResponse: signOnMessageSetResponseSchema,
464
- signOnResponse: signOnResponseSchema,
465
- status: statusSchema,
466
- transaction: transactionSchema,
467
- transactionList: transactionListSchema,
468
- transactionType: transactionTypeSchema
469
- };
470
447
 
471
448
  // src/parser.ts
472
449
  var ENTITY_MAP = {
@@ -593,7 +570,7 @@ function parse(content) {
593
570
  {
594
571
  code: "invalid_type",
595
572
  expected: "string",
596
- message: "Expected string, received " + typeof content,
573
+ message: `Expected string, received ${typeof content}`,
597
574
  path: []
598
575
  }
599
576
  ]),
@@ -864,7 +841,6 @@ async function parseStreamToArray(input) {
864
841
  return result;
865
842
  }
866
843
  export {
867
- schemas,
868
844
  parseStreamToArray,
869
845
  parseStream,
870
846
  parseOrThrow,
package/package.json CHANGED
@@ -56,9 +56,9 @@
56
56
  "test": "bun test",
57
57
  "test:coverage": "bun test --coverage",
58
58
  "test:watch": "bun test --watch",
59
- "type-check": "tsc --noEmit"
59
+ "typecheck": "tsc --noEmit"
60
60
  },
61
61
  "type": "module",
62
62
  "types": "./dist/index.d.ts",
63
- "version": "1.3.0"
63
+ "version": "2.0.0"
64
64
  }