Skip to content

Commit 87c7d4d

Browse files
authored
0.41.0 (#428)
1 parent 7575a63 commit 87c7d4d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { AddAuthorizedUsersRequest, BeneficialOwner, CloseAccountRequest, CloseAccountType, CloseReason, MobileWalletPayloadRequest, RemoveAuthorizedUsersRequest } from "./types"
22
import { State, Address, FullName, Phone, Status, Title, Officer, BusinessContact, AuthorizedUser, Counterparty, Coordinates, UsAddress, InternationalAddress, Relationship, RelationshipsArrayData } from "./types/common"
3-
export function createUsAddress(street: string, street2: string | null, city: string, state: State | null, postalCode: string, country: "US"): UsAddress {
3+
export function createUsAddress(street: string, street2: string | null, city: string, state: State, postalCode: string, country: "US"): UsAddress {
44
return {
55
street,
66
...(street2 && { street2 }),
77
city,
8-
...(state && { state }),
8+
state,
99
postalCode,
1010
country
1111
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unit-finance/unit-node-sdk",
3-
"version": "0.40.0",
3+
"version": "0.41.0",
44
"description": "",
55
"main": "dist/unit.js",
66
"types": "dist/unit.d.ts",

0 commit comments

Comments
 (0)