Skip to content

Commit

Permalink
Bump common update discord collection
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbogle committed Aug 16, 2022
1 parent dab940d commit b281caa
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
4 changes: 3 additions & 1 deletion api/metadata-generator/default.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { capitalizeFirstLetter } from "@cardinal/common";

import type { NFTMetadata } from "./generator";

export const getDefaultMetadata = (
Expand All @@ -17,7 +19,7 @@ export const getDefaultMetadata = (
seller_fee_basis_points: 0,
attributes: [],
collection: {
name: namespace,
name: capitalizeFirstLetter(namespace),
family: namespace,
},
properties: {
Expand Down
4 changes: 2 additions & 2 deletions api/metadata-generator/twitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const getTwitterMetadata = (
external_url: `https://twitter.cardinal.so/${ownerId}`,
attributes: [],
collection: {
name: "Cardinal",
family: "cardinal",
name: "Twitter",
family: "twitter",
},
properties: {
files: [
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@cardinal/certificates": "^1.2.6",
"@cardinal/common": "^1.0.6",
"@cardinal/common": "^2.0.9",
"@cardinal/namespaces": "^4.1.47",
"@cardinal/quest-pool": "^1.1.3",
"@cardinal/stake-pool": "^1.1.1",
Expand Down
18 changes: 17 additions & 1 deletion api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
ts-mocha "^9.0.2"
typescript "^4.5.5"

"@cardinal/common@^1.0.10", "@cardinal/common@^1.0.6":
"@cardinal/common@^1.0.10":
version "1.0.10"
resolved "https://registry.yarnpkg.com/@cardinal/common/-/common-1.0.10.tgz#e40a84c7f253db9154f3022f2e1ef6b8a2ff40c7"
integrity sha512-FCgatr08oyimIDkOk6Fi8gQLtWACnS3MTaMSjZfkXgQa1Wd+58s0k1DBG6IxWthmlSpl6w1/+kN0JfeWoVKO0w==
Expand Down Expand Up @@ -100,6 +100,22 @@
tiny-invariant "^1.2.0"
tslib "^2.3.1"

"@cardinal/common@^2.0.9":
version "2.0.9"
resolved "https://registry.yarnpkg.com/@cardinal/common/-/common-2.0.9.tgz#1631aab70921182c96bc6da4a3143969a882419c"
integrity sha512-4wQ+zsHM5jnCVGW/fevbDm9E97iA50pyFpT31L/5Fs1vVApJHCPEL0XJOUF+EXWryB50qqVbq760nEZ7tOhFxQ==
dependencies:
"@metaplex-foundation/mpl-token-metadata" "^1.2.5"
"@project-serum/anchor" "^0.24.2"
"@saberhq/anchor-contrib" "^1.12.48"
"@saberhq/solana-contrib" "^1.12.48"
"@saberhq/token-utils" "^1.12.48"
"@solana/buffer-layout" "^4.0.0"
"@solana/spl-token" "^0.1.8"
"@ubeswap/token-math" "^4.4.4"
tiny-invariant "^1.2.0"
tslib "^2.3.1"

"@cardinal/namespaces@^4.1.47":
version "4.1.47"
resolved "https://registry.yarnpkg.com/@cardinal/namespaces/-/namespaces-4.1.47.tgz#77194ccffe1feccc20df9356fb3498d4da31d82b"
Expand Down

0 comments on commit b281caa

Please sign in to comment.